home *** CD-ROM | disk | FTP | other *** search
/ PC Electronic Plus / PC Electronics Plus (Most Significant Bits)(1995).ISO / pctrace / pctrace.doc < prev    next >
Text File  |  1993-05-25  |  139KB  |  3,083 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.                                        PCTRACE
  19.  
  20.                                      Version 5.0
  21.  
  22.                                      Users Manual
  23.  
  24.                                     June 21, 1992
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.                                           by
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.                                   Douglas E. Ehlers
  45.                              Ehlers Technical Consultants
  46.                                    4520 S. 58th St.
  47.                                  Lincoln, NE   68516
  48.                            (402) 489-6773  Voice (evenings)
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.                                                                           2
  57.  
  58.                                   Table of Contents
  59.  
  60.           Notice of Copyright............................................3
  61.           Introduction...................................................4
  62.           Installation...................................................4
  63.           System Requirements............................................5
  64.           Software Setup.................................................5
  65.           Old file Upgrades..............................................6
  66.           User support Methods...........................................6
  67.                Voice.....................................................6
  68.                BBS.......................................................7
  69.           Input/Output Menu..............................................8
  70.           Board Definition Menu..........................................9
  71.                Chip Placement...........................................10
  72.           Interactive Router............................................14
  73.                Mouse use................................................18
  74.           Autorouter....................................................18
  75.           Board Statistics..............................................19
  76.           Printer Menu..................................................21
  77.           Export Menu...................................................21
  78.           Exiting the program...........................................22
  79.           Tutorial......................................................24
  80.           RPRINT Subprogram.............................................26
  81.           DEFGEN Subprogram.............................................28
  82.           PC-Trace Keyboard control summaries...........................32
  83.           Schematic CAD.................................................33
  84.                Drawing Symbols..........................................36
  85.                Entering Components/Symbols..............................40
  86.                Making Connections.......................................43
  87.                Additional Drawing Commands..............................44
  88.                SCAD active keys.........................................49
  89.           Conclusions...................................................50
  90.           Appendix A - .NLT file format.................................51
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.                                                           PC-Trace Users Manual
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.                                                                           3
  117.  
  118.                                  Notice of Copyright
  119.  
  120.  
  121.  
  122.                This program is protected by a copyright held by the author
  123.  
  124.           and filed with the United States Government.  Copying of this
  125.  
  126.           software is forbidden and a criminal offense.  Anyone caught
  127.  
  128.           distributing this software without the author's consent will be
  129.  
  130.           prosecuted to the fullest extent of the law.
  131.  
  132.  
  133.  
  134.           Note:     This program was originally marketed under the name
  135.  
  136.                     PCROUTE but for copyright reasons has been renamed to
  137.  
  138.                     PCTRACE.  SCAD is short for Schematic CAD and is a
  139.  
  140.                     schematic capture program that is part of the PCTRACE
  141.  
  142.                     system.
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.                                                           PC-Trace Users Manual
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.                                                                           4
  177.  
  178.                                      Introduction
  179.  
  180.                PCTRACE is a computer aided design program for printed
  181.           circuit boards.  It contains programs that can take the designer
  182.           from a schematic, to a board layout, to computer control of the
  183.           machines needed to make high quality circuit boards.  The program
  184.           should be quite adequate for most purposes.  This program is not
  185.           meant for IBM's use to design the next PS/2 motherboard.  It is
  186.           intended for the late-night engineer to build home projects.  It
  187.           contains a full featured autorouter that averages a 93%
  188.           completion rate on low density boards and 70% on higher density
  189.           boards.  It also supports  most popular printers for its output.
  190.                PCTRACE is the general name given to all the programs that
  191.           make up this system.  For example, PCTRACE includes SCAD, RPRINT,
  192.           and PCTRACE itself.
  193.           Key features include:
  194.                 1.  Autorouting
  195.                 2.  Graphic interactive routing
  196.                 3.  Board layout functions
  197.                 4.  Flexible pinouts for devices
  198.                 5.  2X and 1X output for use in making PC boards
  199.                 6.  Disk functions built into the software
  200.                 7.  Sophisticated component and connection entry systems
  201.                 8.  General statistics
  202.                 9.  Up to 300 components and 1800 connections
  203.                10.  Mouse support in the interactive router
  204.                11.  Variable pad and trace sizes
  205.                12.  Single and double sided boards
  206.                13.  Manual placement of traces
  207.                14.  CGA, EGA, and VGA graphics support to display the
  208.                     board. CGA:80x25 EGA:80x43 VGA:80x60
  209.                15.  Gerber, DXF, and Autocad Script file output
  210.                16.  Actual size silkscreen creation
  211.                17.  Error handling for critical errors
  212.                18.  Schematic Capture for a complete cad system.
  213.                19.  The authors continued support
  214.  
  215.  
  216.  
  217.                                      Installation
  218.  
  219.           Contents of PC-Trace directory:
  220.           PCTRACE   .EXE - The board layout/main program
  221.           SCAD      .EXE - Schematic CAD
  222.           RPRINT    .EXE - The PC-Trace printer output program
  223.           SPRINT    .EXE - The SCAD printer output program
  224.           CONVCDT   .EXE - Converts 4.0 and older files to 5.0
  225.           CONVDEF   .EXE - Converts 4.0 and older files to 5.0
  226.  
  227.  
  228.                                                           PC-Trace Users Manual
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.                                                                           5
  237.  
  238.  
  239.           *         .DEF - PC-Trace part layout files
  240.           *         .DIA - SCAD symbols
  241.  
  242.  
  243.  
  244.           System Requirements:
  245.           To run this program requires:
  246.                1. CGA, EGA, or VGA graphics
  247.                2. 640k of memory with 520k free
  248.                3. 1 floppy disk drive
  249.                4. Hard Disk Drive or Large capacity floppy
  250.                5. One of the following printers:
  251.                     a. IBM PC or compatible printer
  252.                     b. EPSON LQ-2500 or compatible printer
  253.                     c. HP Laserjet II or compatible
  254.                     d. Adobe Postscript Compatible printer
  255.                     e. HP Deskjet or Deskjet +
  256.                     f. Epson MX-80 or compatible
  257.                     g. IBM Proprinter 24pin must be in AGM mode
  258.                     h. HP and Roland Plotters
  259.                6. Mouse is required for SCAD and usable in PC-Trace
  260.           A fast processor and math coprocessor are also beneficial.
  261.  
  262.           Software Setup:
  263.  
  264.                For PCTRACE to run reliably, a line must appear in the
  265.           config.sys files that says FILES=20.  If any other major
  266.           commercial software applications are in use this command probably
  267.           exists, but it should be checked.
  268.                To install the software insert disk 1 in either drive A: or
  269.           B:.  Change to the drive that the floppy disk is in.  To do this
  270.           type A: or B: from the dos prompt.  To start the installation
  271.           process, type INSTALL from the DOS prompt.  The installation
  272.           program will run and prompt for the drive that the install disk
  273.           is in.  Enter the letter and verify that it is correct.  The next
  274.           prompt is for the destination drive.  This should be the letter
  275.           of a hard-disk or alternate floppy disk that has at least 1mb of
  276.           free space.  Verify that the destination of the program is
  277.           correct.  The installation program will notify the user that it
  278.           is ready to start the installation process and that Disk 1 should
  279.           be placed in the disk drive.  This should already be the case. 
  280.           Press SPACE to begin.  After a few moments, a prompt will appear
  281.           for the user to insert disk 2.  If PCTRACE was shipped on a
  282.           single floppy (3.5 inch) disk 2 is the same as disk 1.  If the
  283.           program came on two floppies (5.25 inch) insert the second disk. 
  284.           Press space to finish the installation.
  285.                To execute the programs the user must change into the
  286.           PCTRACE5 directory using the command CD \PCTRACE5.  The programs
  287.  
  288.                                                           PC-Trace Users Manual
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.                                                                           6
  297.  
  298.           will not run properly if run from some other directory than
  299.           PCTRACE.  To run the programs type PCTRACE, SCAD, or RPRINT from
  300.           the DOS prompt.  Install will also create two subdirectories
  301.           called DEFILES and DIAGRAMS to store the definition files for
  302.           PCTRACE and symbol files for SCAD.
  303.                Two programs are included to help with the update process. 
  304.           CONVDEF.EXE is used to modify the old .DEF files that the user
  305.           might already have created.  To use this program, copy it into
  306.           the subdirectory that holds the old .DEF files.  Type CONVDEF,
  307.           the program will run and update the file format of all the old
  308.           files.  CONVDEF can now be deleted from the hard-disk anywhere
  309.           that it appears.
  310.                The second program is used to update the .CDT files.  This
  311.           program requires that the .CDT file be in the same directory as
  312.           CONVCDT.EXE.  To convert the file, type:
  313.  
  314.                CONVCDT file1.CDT file2.CDT file3.CDT.
  315.  
  316.                The program will update the file from the 3.0 and 4.0 format
  317.           to the 5.0 format.  The old file will be saved in a .BAK file.
  318.                One major consideration when moving a 4.0 file to the 5.0
  319.           system is the advanced silkscreening.  The parts are referenced
  320.           to a most upper left corner for placement, this includes
  321.           silkscreen parts.  If a part exists on an old board and is
  322.           converted to the 5.0 program, that part should be left unchanged
  323.           as far as silkscreen.  If the silkscreen is drawn around that
  324.           part, it will offset the location of the pads and the existing
  325.           traces will not meet the pads in the correct place.  This will be
  326.           immediately visible as the affected parts will appear to have too
  327.           many pads.  If the user desires the silkscreen on the old board
  328.           with the 5.0 software, they should be prepared to move components
  329.           around in the interactive router to get the pads in the popper
  330.           places.  Traces that were overwritten by the incorrectly placed
  331.           pad may have to be repaired as well.
  332.  
  333.  
  334.                                  User Support Methods
  335.           Phone Calls:
  336.                     All registered users are free to call anytime to notify
  337.                the author of bugs, perceived bugs, program usage questions,
  338.                suggestions of additions, and anything else that the end
  339.                user feels the need to discuss with the author.  The BBS is
  340.                also a good way to receive support for the registered user.
  341.                     Un-registered users are also welcome to call during the
  342.                evening when having problems getting the demonstration
  343.                version of PCTRACE running.  The support will be more
  344.                limited.  A better, and preferred method by the author, is
  345.                for these users to use the BBS.
  346.  
  347.  
  348.                                                           PC-Trace Users Manual
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.                                                                           7
  357.  
  358.           BBS Support:
  359.                     Perhaps the best reason to register the demo version is
  360.                to get the support of the registered user section on the
  361.                BBS.  The complete PCTRACE system is posted in this area for
  362.                downloading.  Upon registration all users receive a password
  363.                on this system that allows them to download the most current
  364.                bug fixes any time they like.  The user name and password
  365.                appear on the first page of the manual.  Part and symbol
  366.                libraries will also be posted and hopefully uploaded by
  367.                users of the system.  Other programs deemed useful by the
  368.                author will be posted for all users as well as the demo
  369.                version of the software.
  370.                     To access the BBS, call the number listed on the
  371.                opening screen of the software with a modem control package
  372.                such as PROCOMM or QMODEM.  
  373.                     Support is provided courtesy of the author.  Please
  374.                feel free to log in to the BBS anytime.  Voice calls should
  375.                be at a decent hour and evenings are best.  Please exhaust
  376.                all possibilities before making the call and be sure to try
  377.                and understand the problem before making the call to better
  378.                explain it to the author.  If it is possible, please try and
  379.                isolate the problem to the point that it can be repeated by
  380.                executing a certain sequence of events.  By doing this, it
  381.                becomes much easier to find and fix the errors in
  382.                programming.
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.                                                           PC-Trace Users Manual
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.                                                                           8
  417.  
  418.                                    PC-Trace Manual
  419.  
  420.                                   Input/Output Menu
  421.           1. Load Data:
  422.                     This function is used to retrieve from a disk necessary
  423.                information to design a printed  circuit board.  Select this
  424.                function  from the menu  and when  prompted, enter  the file
  425.                name.  No extension  is used, the program will add  the .CDT
  426.                extension.   The  path should  not be  used on  the filename
  427.                itself.  There is a function that will be discussed later to
  428.                set  the  path name.    After entering  the  filename, press
  429.                Return.   The program will ask if  this is the correct name,
  430.                enter Y  or  N to  answer.   If the  file is  not found  the
  431.                program will reprompt for file name.  The ESC key is used to
  432.                jump  back to  the main  menu instead  of entering  the file
  433.                name.
  434.  
  435.           2. Save Data:
  436.                     This function  will save a complete  description of the
  437.                design layout,  component list,  and connection list.   When
  438.                prompted, enter the filename.  Again do not specify the file
  439.                extension  or path name.   PCTRACE will  ask, after entering
  440.                the  file name, if everything is correct.   If so, enter a Y
  441.                or N.   If  the file exists  the program  will ask if  it is
  442.                alright to overwrite the file.  N will prompt for a new file
  443.                name.  ESC will bypass the prompt back to the I/O menu.
  444.  
  445.           3. Erase Data:
  446.                     This  routine  clears the  memory of  the program.   It
  447.                erases the boards, component list, and connection list.  The
  448.                program will ask for confirmation before erasing the data in
  449.                memory.   Answer  Y or  N.   The  program will  respond with
  450.                "Erasing..."  and after a few  seconds drop back  to the I/O
  451.                menu.
  452.  
  453.           4. Import Data:
  454.                     This load  routine works the  same as the  primary load
  455.                command in this menu.  The difference is that it  is made to
  456.                load a netlist  generated by SCAD.  Creation of this file is
  457.                covered in the SCAD manual.  Once this file has been loaded,
  458.                assuming that it is  a complete design, all that  remains is
  459.                to  place the  parts,  make any  minor  design changes,  and
  460.                autoroute the board.  This is a best case scenario and  more
  461.                work is usually required.
  462.  
  463.           5. Disk Directory:
  464.                     This function displays a listing of the all the circuit
  465.                data files on the current drive and path.  Use the space bar
  466.                to  view twenty file  names at a  time.  When  no more files
  467.  
  468.                                                           PC-Trace Users Manual
  469.  
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.                                                                           9
  477.  
  478.                exist, the space bar returns to the I/O menu.
  479.  
  480.           6. Change drive/path:
  481.                     This  function changes the  current path.   The ESC key
  482.                will back  out of  the function  without changing the  path.
  483.                The function  will display  the current  drive and  path and
  484.                then prompt for a new one.  Just enter the new one and press
  485.                Return.
  486.  
  487.                                 Define/Edit Board Menu
  488.  
  489.           1. Component Edit/Entry:
  490.                This function is  used to enter components into  the system.
  491.           Selecting this function  will place the user in the entry/editing
  492.           environment.    If  no  components have  been  entered  only  two
  493.           possible commands  will  be shown,  if  there are  components  in
  494.           memory  the programs  shows options to  delete, copy  and perform
  495.           other functions. 
  496.  
  497.           New Component Entry:
  498.                Typing  an  "A" will  allow entry  of  new components.   The
  499.           program  will display the component number being entered and then
  500.           prompt for the  name.  The name  may be up to  15 characters long
  501.           and serves  only to remind  the designer  of what the  device is.
  502.           ESC can  be used at this point to return you to the entry/editing
  503.           environment.
  504.                The  next  question is  for the  designation.   This  is the
  505.           unique name  that is given to  the component and will  be used in
  506.           the  future to refer to it.   Typical names include IC1, R1, IC2,
  507.           and A1.  There are two reserved designations.  The first reserved
  508.           designation starts with "V" and then a number, so V1 would not be
  509.           accepted  but VI1 would be.   The second  reserved designation is
  510.           "GRNDP".  If this is specified  as a source or destination pad in
  511.           the  autorouter,  a  connection  to  the  ground  plane  will  be
  512.           attempted if  one is defined.   ESC may be used to  back up while
  513.           entering the designation name to reenter the component name.
  514.                Third, the program will prompt for the definition file name.
  515.           This is the name of a file that tells the program how the pins on
  516.           the device being entered are situated.  The program first shows a
  517.           list of  possible definition file names  at the lower right.   At
  518.           the end of  the list the program will prompt for  a name.  Do not
  519.           enter a file extension, the program will add it for you.   If the
  520.           name of  the  file entered  exists,  it will  read  the file  and
  521.           display the chip definition to see if it is correct.  If the user
  522.           answers "yes" the program will continue to the next question.  If
  523.           the  user  answers  "no",  the  program  will  reprompt  for  the
  524.           definition  name after displaying the possible files.  ESC may be
  525.           used  to  back up  and reenter  the  component designation.   New
  526.           definition  files can be created with the subprogram DEFGEN.  See
  527.  
  528.                                                           PC-Trace Users Manual
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.                                                                          10
  537.  
  538.           that section of the manual for information on its usage.
  539.                The  fourth prompt asks for the pad  size for the device.  A
  540.           small window will  pop up and prompt for a  pad size between 0.05
  541.           inches  and  0.15 inches.    All pads  are  circular.   Enter the
  542.           corresponding number to the pad size.
  543.                The  next question  the program  will ask  if everything  is
  544.           correct.   Answering  "no" will  restart  this process  with  re-
  545.           prompting  for the  name.   Answering  "yes"  will get  the  next
  546.           prompt.
  547.                The next prompt is to keep this device.  Answering "no" will
  548.           skip the next prompt and ask if you wish to enter another device.
  549.           Answering "yes" displays the next prompt.
  550.                This prompt asks if the user wishes to place the device now.
  551.           Entering  "no" will allow  the delay  of this  until later.   All
  552.           devices must be placed somewhere on the board before they  can be
  553.           connected.  Placing a chip goes as follows:
  554.  
  555.           Placing Chips:
  556.                     When the  graphic screen  comes up a  representation of
  557.                the current  circuit board with all  other placed components
  558.                and ground planes are shown.  The chip being entered will be
  559.                shown in the upper left corner of the board.  The arrow keys
  560.                will  move this chip around on the  board. By using a shift-
  561.                arrow  combination the chip can  be moved faster.   Move the
  562.                chip to its final place  and press return.  Chips cannot  be
  563.                overlapped.   The chip is now placed  in this location.  ESC
  564.                will  exit  without  placing  the  chip.    Confirmation  of
  565.                abandoning the placement  is asked.  Yes will go to the next
  566.                prompt, no will return to the place before hitting ESC.
  567.  
  568.                The last prompt is to enter another chip or  not.  Answering
  569.           "yes" will put the user back at the name prompt  to enter another
  570.           chip.    No  will   put  the  user  back  in   the  entry/editing
  571.           environment.
  572.  
  573.           Editing Component Definitions:
  574.                Selecting  E  from  the  entry/editing   environment  allows
  575.           editing of any part of each definition.  Simply select the letter
  576.           of the item to change.  For example, to  change the name, press A
  577.           after pressing  E and enter the  new name.  Either  enter the new
  578.           name, or press  ESC to leave  it unchanged.   When done  editing,
  579.           press the key that corresponds to exiting the edit.
  580.                If editing the placement of chips, the  chip definition file
  581.           must  be present  in the DEFILES  subdirectory for  the placechip
  582.           function to work.   The  only time this  is a  problem is if  the
  583.           board being edited is not your own, such that the chip definition
  584.           files have different names from your own.
  585.  
  586.  
  587.  
  588.                                                           PC-Trace Users Manual
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.                                                                          11
  597.  
  598.           Deleting Component Definitions:
  599.                This function allows removal of a  component.  The component
  600.           that  will be  deleted  is the  one  currently displayed  on  the
  601.           screen.   Press  D  and confirmation  will  be asked  for  before
  602.           deleting  the component.   Answer  accordingly.   All connections
  603.           that contained the deleted function will also be deleted.
  604.  
  605.           Copying Components:
  606.                This function  will allow  copies of  a  chip definition  to
  607.           speed  the entry  of chips.    It will  copy everything  from the
  608.           displayed  definition   to  a  new  definition   except  for  the
  609.           designation  from  which it  will take  the  alpha part  and then
  610.           increment the numerical part to the next available part.  It also
  611.           does not put the chip in the same location.  The program will ask
  612.           if the user wishes to place the chip now or later.
  613.  
  614.           Searching for a Component:
  615.                Sometimes finding the component  that needs to be edited  or
  616.           deleted  can  take some  time on  a large  board.   This function
  617.           allows a search  for components by  designation.  When  prompted,
  618.           enter the designation.  PCTRACE will change the case to upper. If
  619.           it exists,  the program will display that device's number.  If it
  620.           doesn't exist, nothing happens.
  621.  
  622.           Incrementing and Decrementing the displayed Component:
  623.                Using  + and  -  will change  the  displayed component.    +
  624.           increments  and - decrements.  The display is circular in nature,
  625.           therefore hitting  + at  the last component  will move it  to the
  626.           first and hitting - at the first will move it to the last.
  627.  
  628.           Exiting the Entry/Editing Environment:
  629.                Use the N key to end these functions and return to the board
  630.           definition menu.
  631.  
  632.           2. Connection Edit/ Entry:
  633.                This  system  allows  for  entry  and  editing  of  all  the
  634.           connections  that need to be  made between the  components in the
  635.           system.    The  functions  are  very  similar  to  the  component
  636.           functions.
  637.  
  638.           New Connection Entry:
  639.                Typing  an "A"  will allow  entry of  new connections.   The
  640.           program will display the connection number being entered and then
  641.           prompt  for the  name of the  source designation.   The name must
  642.           exist in memory as a component.  ESC can be used at this point to
  643.           return to the entry/editing  environment.  If a ground  plane has
  644.           been defined, the  reserved designation  "GRNDP" can  be used  to
  645.           connect to it.  The associated pin is ignored and defaults to 1.
  646.                The  next question is for the source chip pin number.  Enter
  647.  
  648.                                                           PC-Trace Users Manual
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.                                                                          12
  657.  
  658.           the number of the pin that the  trace is to connect to.  ESC will
  659.           back up to the previous prompt. 
  660.                The  program will now prompt for the name of the destination
  661.           designation.    The name  must exist  in  memory as  a component.
  662.           "GRNDP" can be used as a destination as well.  ESC can be used at
  663.           this point to return to the previous prompt.
  664.                The  next question if  for the destination  chip pin number.
  665.           Enter the number of the pin that the other end of the trace is to
  666.           connect to.  ESC will back up to the previous prompt.
  667.                The program will now ask if this is a priority route or not.
  668.           By  answering "yes", this trace  will be routed  before all other
  669.           non-priority  routes no matter how long it  may be and what other
  670.           routes it may block.  This might be used for making sure a memory
  671.           access  bus is all done in copper  instead of using jumpers for a
  672.           vital connection.
  673.                Next, the program will want to know the desired trace width.
  674.           Traces  from 0.01  to  0.07 are  supported.   Select  the  number
  675.           corresponding  to the  size required.   The following  table will
  676.           show what size trace will  go between two pads of some  size that
  677.           are spaced on 0.1 inch centers.
  678.                                   Pad Size (inches)
  679.           Trace width    0.05      0.06      0.07
  680.                0.01 Yes       Yes       No
  681.                0.02 Yes       No        No
  682.                0.03 Yes       No        No
  683.                0.04 No        No        No
  684.                0.05 No        No        No
  685.                0.06 No        No        No
  686.                0.07 No        No        No
  687.  
  688.           These tolerances  can be overridden using  the interactive router
  689.           which will be discussed later.
  690.                The next question the  program will ask is if  everything is
  691.           correct.  Answering "no" will restart this process by reprompting
  692.           for the source designation.  Answering yes will bring up the next
  693.           prompt.
  694.                The  next  prompt  is  if  the  user  wishes  to  keep  this
  695.           connection.   Answering "no" will skip the next prompt and ask if
  696.           you  wish to enter another connection.  Answering "yes" brings up
  697.           the next prompt.
  698.                The  last  prompt asks  if  another connection  needs  to be
  699.           entered.   Answering "yes", will put  start back up at the source
  700.           designation prompt to enter another connection.  "No" returns the
  701.           program back to the entry/editing environment.
  702.  
  703.           Editing Connection Definitions:
  704.                Selecting  E from the  entry/editing environment  will gives
  705.           the  user  the ability  to change  any  part of  each connection.
  706.           Simply select  the letter of the item to change.  For example, to
  707.  
  708.                                                           PC-Trace Users Manual
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.                                                                          13
  717.  
  718.           change the source designation, press A after pressing E and enter
  719.           the  new designation.  Either enter the new designation, or press
  720.           ESC to leave it unchanged.  Press N to exit the edit mode.
  721.  
  722.           Deleting Connection Definitions:
  723.                This  function   allows  removal  of  a   connection.    The
  724.           connection that will be deleted is the one currently displayed on
  725.           the screen.  Pressing D will confirm before actually deleting the
  726.           connection.  Answer accordingly.
  727.  
  728.           Searching for a Connection:
  729.                Finding  the connection to edit or delete can take some time
  730.           on a large board.  This  function allows a search for connections
  731.           by  designation.   When prompted,  enter the  designation sought.
  732.           PCTRACE will change the case to upper for you.  PCTRACE then will
  733.           search from  the current connection to the end.  It looks at both
  734.           the source and destination designations for a match.  If it finds
  735.           the  search string  the  program will  display that  connection's
  736.           information.  If it doesn't exist, nothing changes.
  737.  
  738.           Incrementing and Decrementing the displayed Connection:
  739.                Using  +  and -  will change  the  displayed connection.   +
  740.           increments  and - decrements.  The display is circular in nature,
  741.           therefore typing +  at the last connection moves it  to the first
  742.           connection and pressing - at  the first will move it to  the last
  743.           connection.
  744.  
  745.           Exiting the Entry/Editing Environment:
  746.                Use the N key to end these functions and return to the board
  747.           definition menu.
  748.  
  749.           3. Ground Plane:
  750.                This function is used to set up a ground plane.  The program
  751.                will display a picture of the board.  It will prompt for the
  752.                width of  the ground  plane on  all four  sides on  both the
  753.                component side and  solder side  of the board.   Each  digit
  754.                entered corresponds to .05 actual  inches.  The ground plane
  755.                may  be changed at any time.   ESC will also back out of the
  756.                first prompt only (top-solder side).
  757.  
  758.                ***  Please note that  this function erases any work done in
  759.                     the interactive router (discussed later).
  760.  
  761.  
  762.  
  763.           4. Define Board Size:
  764.                This  function is the first  function used.   It defines the
  765.                dimensions  of the board.  The  maximum board size supported
  766.                by  PCTRACE is  8" X  10".  When  prompted for  numbers, the
  767.  
  768.                                                           PC-Trace Users Manual
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.                                                                          14
  777.  
  778.                numbers  are  entered  as  multiples  of  5.    Each  number
  779.                represents 0.05" of  actual size.  So an entry  of 100 would
  780.                correspond  to 5".   Board sizes can be  changed at any time
  781.                during  the design process by calling the routine again.  If
  782.                the board is made  smaller, the chips that were  outside the
  783.                new border  will have to be  replaced.  ESC will  back up to
  784.                the  previous prompt, or jump out of the routine leaving the
  785.                board size unchanged.
  786.  
  787.           5. Spider Web:
  788.                This function  is useful for checking to see if a chip would
  789.                be more logically placed somewhere else.  By using the + and
  790.                -  keys,   various  chips  and  their   connections  can  be
  791.                displayed.   As each  chip is selected,  it, as  well as all
  792.                traces connected to it are highlighted in red.  Once  a chip
  793.                is highlighted, selecting M will allow movement of the chip.
  794.                After pressing M, the arrow keys become active and the chip,
  795.                as  well as all its connections will be rubber banded around
  796.                the  board.   Pressing  RETURN will  place  the chip  at the
  797.                current location, or press ESC to not place the chip and put
  798.                it back  at its original  location.  The  ESC or E  key will
  799.                exit from this function.
  800.                *** Please note, if  chips are moved, the  work done by  the
  801.                interactive router is erased.
  802.  
  803.  
  804.                                   Interactive Router
  805.  
  806.                This   board  editing   system   allows   the  designer   to
  807.           interactively design a board.  It can be very useful  for finding
  808.           possible routes that  the autorouter  was unable to  find.   Upon
  809.           entry  to this  section, the  program generates  the  borders and
  810.           places  the  pads  of all  the  chips.    If  a large  number  of
  811.           components has  been placed  on the  board, it  could take a  few
  812.           moments.  It will also  ask the user to place all the  chips that
  813.           have not  been placed  yet.   If you intend  to route  the entire
  814.           board this way,  place your chips  and then leave  them.   Moving
  815.           them  around  after  placing the  chip  will  distort the  board.
  816.           PCTRACE  has  no way  of  connecting  traces up  to  a chips  new
  817.           location.   The  screen  will  show  all  the  chips  with  their
  818.           designations centered  amid each  component pin unless  DEFGEN is
  819.           used to  lock the location  of the designation.   This system has
  820.           many  keys that  are  active  while  in  this  environment.    An
  821.           explanation of each follows.
  822.  
  823.           S - switch sides:
  824.                This function changes the side of the board displayed.  When
  825.                S is pressed, the  other side of the board  becomes visible.
  826.                The program supports only 2 sides, solder and component.
  827.  
  828.                                                           PC-Trace Users Manual
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.                                                                          15
  837.  
  838.           K - Silkscreen toggle:
  839.                Pressing this key toggles the silkscreen  display on and off
  840.                while in the  interactive router.   It defaults  to ON  upon
  841.                entry to the interactive router.
  842.  
  843.           C - move a component:
  844.                Pressing this key will give the  user the option of moving a
  845.                component within the interactive  router.  After pressing C,
  846.                the bottom  of the screen  will show  a brief  listing of  a
  847.                component.  The  name and  designation are listed.   +  will
  848.                move to the next component, and - to the previous  one.  ESC
  849.                will exit the component movement function.  Pressing  M will
  850.                erase the  displayed component  and redraw the  screen.   At
  851.                this point, move the cursor to the upper  left corner of the
  852.                area where the component will be placed and press G to place
  853.                it.    It  is  important  to  understand   that  the  cursor
  854.                represents  the  absolute  upper  left corner  of  the  part
  855.                including any silkscreen extensions.
  856.  
  857.           G - grab location:
  858.                The key  is only active at  certain times.  The  F1, F2, F4,
  859.                F5, F6, F7, and F10  function all use this key.  The  key is
  860.                normally used to mark a location on the board or  a piece of
  861.                a trace.
  862.  
  863.           B - Turn on background:
  864.                This  key is used to  turn on and  off the background layer.
  865.                If  editing  the  solder  side,  a  lightened  view  of  the
  866.                component side  can be turned  on.   On a color  monitor, it
  867.                will appear dotted and  red.  Black and white  monitors will
  868.                show dotted graphics only.  Pressing B again turns this mode
  869.                off.
  870.  
  871.           E or ESC - end:
  872.                Pressing E or ESC will exit from the interactive router.
  873.  
  874.           Cursor Keys:
  875.                The  cursor keys move the  solid block around  on the board.
  876.                Each time an  arrow key is pressed,  the cursor will  move 1
  877.                space.   Relative coordinates are displayed at the bottom of
  878.                the  screen.  Using Shift-Arrow  moves the cursor 10 spaces.
  879.                If  the edge of the screen  is encountered, but not the edge
  880.                of the board, the screen will shift the board over.
  881.  
  882.           Function Keys:
  883.                The function  keys numbered  F1-F10 do  the majority  of the
  884.           work in PCTRACE.   They allow placement of vias,  running traces,
  885.           deleting traces, resizing traces, and deleting vias.
  886.  
  887.  
  888.                                                           PC-Trace Users Manual
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.                                                                          16
  897.  
  898.           F1 - Set Source:
  899.                By  pressing  F1,  the bottom  of  the  screen  will say  to
  900.                position  the cursor on the  pad that will  be designated as
  901.                the source and then press  G to grab it.  The  bottom status
  902.                line will display exactly what chip and pin number have been
  903.                selected.
  904.  
  905.           F2 - Set Destination:
  906.                This function works exactly  as the F1 function but  selects
  907.                the destination pin.
  908.  
  909.           F3 - Run Trace:
  910.                Once a source and destination have been defined, pressing F3
  911.                will  attempt  to connect  the two  pins  with a  trace 0.01
  912.                inches  wide.   If  it is  successful,  the screen  will  be
  913.                redrawn  and the trace will  appear.  If  it cannot complete
  914.                the route, a  message will be displayed at the bottom of the
  915.                screen.   At this point try  placing a via and  routing from
  916.                the source  to  it on  one  side and  from  the via  to  the
  917.                destination on the other.
  918.  
  919.           F4 - Delete Trace:
  920.                This  function  will delete  any part  of  any trace  on the
  921.                board. Pressing F4 enters the  delete selection mode.  After
  922.                pressing F4 the screen will  say to use G to grab  the parts
  923.                to  be deleted.  As the user  presses G on valid traces, the
  924.                pieces will  be highlighted.  Changing screens by moving the
  925.                cursor off  the screen  will not  lose the  already selected
  926.                traces.  Once all  the pieces to delete have  been selected,
  927.                press F4  again  and  the  program will  prompt  to  confirm
  928.                deleting of the  selected traces.   Answer Y  to finish  the
  929.                delete operation.
  930.  
  931.           F5 - Add Via:
  932.                This function  key will  add a  via at  the location  of the
  933.                cursor when G  is pressed.  It  will be V and  then the next
  934.                available number.   Use these for multilevel  routes or just
  935.                extra  pads needed.  A  via cannot be  placed adjacent to an
  936.                existing pad.  One can be placed diagonally from  a pad .  A
  937.                via  also may not be  placed in the middle of  a trace.  All
  938.                vias are deleted by the autorouter when it is invoked.
  939.  
  940.           F6 - Del Via:
  941.                This  function deletes the via at the cursor location when G
  942.                is pressed if a via exists there.
  943.  
  944.  
  945.  
  946.  
  947.  
  948.                                                           PC-Trace Users Manual
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.                                                                          17
  957.  
  958.           F7 - Resize trace:
  959.                This function will resize  a trace to any valid  trace size.
  960.                Select F7  and use G to  select the traces to  resize.  Once
  961.                the traces to  resize have  been selected press  F7 and  the
  962.                program will ask for  confirmation of the resize.   Answer Y
  963.                to resize.   The program  will prompt for  the trace  resize
  964.                value.  1 corresponds to 0.01  up to 7  which corresponds to
  965.                0.07 inches.  Be careful not to overlap other traces or pads
  966.                with this function.
  967.  
  968.           F8 - Check Route:
  969.                This  function will check to see if  a selected pair of pads
  970.                can be connected.  It will report back whether the route can
  971.                be completed, the route  exists already, or if no  route can
  972.                be found.  This is useful for doing multi-layer routes using
  973.                vias.   Checking for  an available  route before  laying the
  974.                actual trace will save a number of deletes if later the path
  975.                is blocked.
  976.  
  977.           F9 - Manual Route:
  978.                This  function allows  the  user to  manually route  traces.
  979.                Place the  cursor on the starting pad or trace and press F9.
  980.                A prompt will appear  at the bottom of the screen asking for
  981.                the trace width.   Enter the number that corresponds  to the
  982.                desired size and press  return.  Now use the  cursor control
  983.                keys to  route the trace.  Every  time the cursor moves, the
  984.                trace  is lengthened.   When  done, either  stop in  an open
  985.                space and press F9  or stop on a trace or  pad and press F9,
  986.                the  correct  connecting piece  will  be added  to  make the
  987.                connection.  Please note that moving over an  existing trace
  988.                will cause  PCTRACE to cut  that trace in  favor of  the new
  989.                path.   This  works well  for putting  short jumpers  on the
  990.                board.   This is very  useful for routing  traces that would
  991.                normally  block other routes  if they  were not  placed this
  992.                way.   With  the interactive  router any  size trace  can be
  993.                placed anywhere.  It is possible to over-ride the autorouter
  994.                and  run a 0.01  inch trace between  two 0.07 pads.   If the
  995.                board-making process used is accurate to 0.01 many low power
  996.                traces can be completed this way.  The manual router is also
  997.                used  in  many  advanced  "tricks"  for  making  specialized
  998.                boards.
  999.  
  1000.           F10 - Write Text:
  1001.                Pressing  F10  allows additional  text  to be  added  to the
  1002.                silkscreen layer.   After pressing F10, the program will ask
  1003.                the user to move the cursor to the starting position for the
  1004.                text  and  press G.   After  pressing  G, the  software will
  1005.                prompt  for  the text  string.   It  will  accept  up to  20
  1006.                characters.   When done  entering text, press  return.   The
  1007.  
  1008.                                                           PC-Trace Users Manual
  1009.  
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016.                                                                          18
  1017.  
  1018.                next prompt is for  double sized text.  Answer "yes" and the
  1019.                text  will  appear double  sized.   The  board will  then be
  1020.                redrawn with the text added in.   The only thing to be aware
  1021.                of is that normal silkscreen text takes precedence over user
  1022.                added text.
  1023.  
  1024.           Using a mouse in the interactive router:
  1025.                The mouse allows  a faster  method to do  all the  functions
  1026.           mentioned  previously except  for the  manual router.   The mouse
  1027.           must  be installed  before  running the  PCTRACE  program.   When
  1028.           entering the interactive program  four arrows will appear  in the
  1029.           lower right corner of  the screen.  By  using the mouse,  putting
  1030.           the cursor on one of these  arrows, and pressing the left button,
  1031.           the screen will  be moved by  half in that  direction.  The  same
  1032.           thing was accomplished by  moving the cursor off the  board using
  1033.           the arrow keys.
  1034.                Pressing  the  right button  will pop  up  a menu  along the
  1035.           bottom of the screen.  The  menu corresponds to function keys F1-
  1036.           F8, and F10.  The exit command at the far right, exits the  menu.
  1037.           By placing the cursor anywhere on  the command desired, execution
  1038.           of that  command is  done by  pressing the left  button.   If the
  1039.           command selected is F1, F2,  F4, F5, F6, F7, or F10,  the program
  1040.           will be using the "Grab" method.  The left button  works the same
  1041.           as the G  key in these cases.   Use it to highlight  sections and
  1042.           locations on the board to  work with.  When using the  delete and
  1043.           resizing  functions (F4 and F7)  the user must  press and release
  1044.           the left button for each piece of trace.
  1045.  
  1046.                                      Autorouting
  1047.                Selecting this from the menu will enable the user to connect
  1048.           all  or most of the connections  desired.  The program will first
  1049.           draw borders, place  pads, and set  up the ground  planes.  If  a
  1050.           component has not been placed,  the program will ask the  user to
  1051.           place it.   The program requires all chips to be placed before it
  1052.           can  route.    There are  four  routing  strategies  that can  be
  1053.           employed.  Select each strategy by  pressing Y or N as the cursor
  1054.           moves to each option.  If Y is selected for single or  double via
  1055.           routing a prompt will also appear for the maximum number of tries
  1056.           for each.   Just enter a  number.  Bigger numbers  are better for
  1057.           bigger boards, smaller numbers for small boards.
  1058.                The  PCTRACE  system  is  totally  re-entrant.    The  first
  1059.           question  asked  is  if the  user  wishes  to  clear all  traces.
  1060.           Answering  "yes" clears anything  currently on  the board.   "No"
  1061.           would keep the screen as it was.   ESC can  be pressed during any
  1062.           routing  strategy to exit that  routine and the  autorouter.  The
  1063.           program will then show  the list of all unconnected  routes still
  1064.           existing.   If the router  has not completed  one run-through the
  1065.           connection list,  traces may have  been completed by  the earlier
  1066.           route and still be  reported as unconnected.  A  design check can
  1067.  
  1068.                                                           PC-Trace Users Manual
  1069.  
  1070.  
  1071.  
  1072.  
  1073.  
  1074.  
  1075.  
  1076.                                                                          19
  1077.  
  1078.           be done  to see which routes in the connection list have not been
  1079.           connected,  either by hand or  by the autorouter,  by running the
  1080.           autorouter and not erasing  the current traces.  This  is because
  1081.           the autorouter  will not  reroute a connection  that has  already
  1082.           been completed.   Just select  the double or  single sided  route
  1083.           system.   It  will report  any routes  that are incomplete.   Any
  1084.           route  that was completed before  will be marked  as complete and
  1085.           not reported.   The program will  report whatever routes  weren't
  1086.           done and the ones it couldn't complete.
  1087.  
  1088.           Single Sided Route:
  1089.                This  function will attempt to  place all the  routes on the
  1090.                solder  side  of  the board.    It  is  the least  efficient
  1091.                strategy  but  is great  for  small projects  where  ease of
  1092.                making the board itself is a priority.  This function cannot
  1093.                be used in conjunction with the next three strategies.
  1094.  
  1095.           Double Sided Route:
  1096.                This function will do its routing on two sides of the board.
  1097.                It has a higher completion percentage  than the single sided
  1098.                strategy.
  1099.  
  1100.           Single Via Route:
  1101.                This  function requires  that the  double sided  strategy be
  1102.                selected first.    This function  is used  after the  double
  1103.                sided strategy  to try  to complete any  uncompleted routes.
  1104.                It places  a via  and tries  to do the  single route  with a
  1105.                trace on  each side of  the board.  A  number such as  50 is
  1106.                good for the maximum number of tries prompt.
  1107.  
  1108.           Double Via Route:
  1109.                This  function also  requires that  double sided  routing be
  1110.                selected to work.  It  uses two vias to attempt  to complete
  1111.                the route.   A good  maximum number  of tries is  30 or  so.
  1112.                This function can take a great deal of time so be patient.
  1113.  
  1114.                                    Board Statistics
  1115.  
  1116.           This function displays 5 statistics.
  1117.  
  1118.           Equivalent Integrated Circuit Count:
  1119.                This function is the total number of pins divided by 16.
  1120.  
  1121.           Board Density: This is  the amount of space total  that each chip
  1122.                          has  to occupy.   It  is calculated by  taking the
  1123.                          area of  the board and dividing  by the Equivalent
  1124.                          IC count.
  1125.  
  1126.  
  1127.  
  1128.                                                           PC-Trace Users Manual
  1129.  
  1130.  
  1131.  
  1132.  
  1133.  
  1134.  
  1135.  
  1136.                                                                          20
  1137.  
  1138.           Total Trace Length: The function  gives the  total length  of all
  1139.                               the  traces on  the board.   The  smaller the
  1140.                               number, the better the design.
  1141.  
  1142.           Board size:    The board dimensions in inches.
  1143.  
  1144.           File name:     This is the file name currently in memory.
  1145.  
  1146.  
  1147.  
  1148.  
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161.  
  1162.  
  1163.  
  1164.  
  1165.  
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.                                                           PC-Trace Users Manual
  1189.  
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195.  
  1196.                                                                          21
  1197.  
  1198.                                      Printer Menu
  1199.  
  1200.           1. Print Components:     This  function will  generate a  list of
  1201.                                    all the components.  It can be sorted by
  1202.                                    name or designation.  
  1203.  
  1204.           2. Print Connections:    This  function will  generate a  list of
  1205.                                    all the  connections in memory.   It can
  1206.                                    be sorted  by the source  or destination
  1207.                                    designation.
  1208.  
  1209.  
  1210.                                      Export Menu
  1211.  
  1212.                The  export menu allows for files to be created that various
  1213.           other  cad software and board producers use.  After selecting the
  1214.           Export menu from the main menu, four export choices will be seen.
  1215.  
  1216.           1. Write Autocad Script file:
  1217.                     This function will  write a  file that can  in turn  be
  1218.                read into and edited with Autocad.  The process is one  way,
  1219.                no  way is provided to read autocad files back into PCTRACE.
  1220.                Call this function from the Export menu and give a name when
  1221.                prompted.  Specify no path or file extension.  The extension
  1222.                .SCR will  be added to the  file.  Once the  program is done
  1223.                writing the file, Autocad  may be started.  Use  the command
  1224.                "SCRIPT" from the "Command:"  prompt.  Autocad will ask  for
  1225.                the script file name.  Specify  the same name (with path  if
  1226.                needed)  as the one created in PCTRACE and Autocad will read
  1227.                in the  file.  Autocad  will display  three layers:  solder,
  1228.                component,  and silkscreen.  Each may be edited and saved as
  1229.                Autocad  drawing files.   Doing  this greatly  increases the
  1230.                number  of printers that can  be used for  output as Autocad
  1231.                supports a large number of printers.
  1232.  
  1233.           2. Write a DXF file:
  1234.                     The  DXF  file   is  used  by  many   cad  packages  to
  1235.                incorporate data into their  systems.  Autocad is  one prime
  1236.                example.   The  DXF file  includes all  three layers  in its
  1237.                output (Solder,  Component,  and Silkscreen).   The  command
  1238.                will prompt for  a file name.   Enter  the filename with  no
  1239.                extension.  The  extension .DXF  will be added.   After  the
  1240.                filename has  been  entered, the  DXF  file output  will  be
  1241.                created.   Autocad will  load  this file  using the  command
  1242.                "DXFIN"  from  the Autocad  "Command:" prompt.   Wordperfect
  1243.                will also read a DXF file and convert it to its own graphics
  1244.                format (WPG files).  
  1245.  
  1246.  
  1247.  
  1248.                                                           PC-Trace Users Manual
  1249.  
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.                                                                          22
  1257.  
  1258.           3. Write a Gerber file:
  1259.                     A Gerber file is the standard file type that is used by
  1260.                professional  board manufacturers.    The PC-Trace  software
  1261.                will  generate this file format and is accurate to 3 decimal
  1262.                places.  Upon selection of this option, the user is prompted
  1263.                to enter aperture names to be used.  The aperture is used to
  1264.                describe an entity on the board.   If the photo plotter that
  1265.                the board maker is using requires that  a pad 0.05 inches in
  1266.                diameter  be specified  as  D23,  then  the  0.05  inch  pad
  1267.                aperture name must be changed to reflect this.  The software
  1268.                will ask if the aperture  list is OK.  If it is, press Y for
  1269.                yes and the program will continue.   If N for no is pressed,
  1270.                each aperture must be re-entered as the cursor goes down the
  1271.                column.    ESC  will  bypass a  selection  without  erasing.
  1272.                Retyping will change the selection and return will erase the
  1273.                selection  which  would make  it  necessary  to re-edit  the
  1274.                aperture list.  Once  the list is determined to  be correct,
  1275.                the program prompts for the board  side to be plotted to the
  1276.                file.   Press  the number  that corresponds  to the  desired
  1277.                selection.   Last of all the  program will ask for an output
  1278.                filename.   Enter  the  filename with  no  extension.   Upon
  1279.                pressing  the  return key,  the  program  will generate  the
  1280.                Gerber file.   Two files  will be created.   The first  file
  1281.                will  be the filename plus the extension .GER for the actual
  1282.                Gerber  file.   The  second file  is  the filename  plus the
  1283.                extension  .AP for the aperture  list.  Both  of these files
  1284.                should  be sent  to  the  manufacturer.    A  file  must  be
  1285.                generated  for  each  board  side  that  is  desired  to  be
  1286.                manufactured.  Only one aperture file need be sent.
  1287.  
  1288.           4. Write a CNC Drill file:
  1289.                     A  CNC  drill  file  contains  the  information  for  a
  1290.                Computer Numerically  Controlled  drill press  to drill  the
  1291.                holes  for the pins of  the components to  be placed though.
  1292.                The  software will  prompt for the  drill bit  (tool number)
  1293.                size that should be used for each different  sized pad.  The
  1294.                entry system works the  same as that of the  Gerber aperture
  1295.                definition screen.  The  user will next be prompted  for the
  1296.                output  file  name.    It  should  be  entered   without  an
  1297.                extension.  After pressing return at the end of the filename
  1298.                the  computer will  create the  filename with  the extension
  1299.                .NC.  The file contains the X,Y coordinates of all the pads.
  1300.  
  1301.  
  1302.                                  Exiting the Program
  1303.  
  1304.                Selecting 8 from the  main menu will exit from  PCTRACE back
  1305.           to DOS.   If there is data in memory the  program will ask if you
  1306.           wish to  save it.  Answering  "Yes" will prompt for  a file name.
  1307.  
  1308.                                                           PC-Trace Users Manual
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.                                                                          23
  1317.  
  1318.           Enter  the file name as was done in the save data function in the
  1319.           Input/Output menu.   ESC  will abort  the save,  but it  will not
  1320.           return the user to the program.  Answering "No" to the save query
  1321.           will cause the program to go immediately to DOS.
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346.  
  1347.  
  1348.  
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355.  
  1356.  
  1357.  
  1358.  
  1359.  
  1360.  
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.                                                           PC-Trace Users Manual
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.                                                                          24
  1377.  
  1378.                                     Brief Tutorial
  1379.  
  1380.                The  following is  intended as  a method  of getting  up and
  1381.           running with the program.  It will give a general idea of how the
  1382.           program works.
  1383.           1.   Begin by  running PCTRACE.   This  information can  be found
  1384.                back in the section on setting up PCTRACE for your machine.
  1385.           2.   Once  at the main menu,  press 3 for  define/edit board, and
  1386.                then select 4 for define board dimensions.  For our purposes
  1387.                we will use a board size of 80 x 80, which translates into a
  1388.                4 inch square board.
  1389.           3.   Select function 1  to enter  new components.   You will  see
  1390.                that no data has been  entered yet.  Press A to  enter data.
  1391.                We  will put  three chips  on the  board and  two resistors.
  1392.                Answer  each prompt  below with  the following  data.   When
  1393.                asked  to place each chip  answer Y and  place the chip with
  1394.                the  cursor keys.   After  you have  entered the  last item,
  1395.                answer N to the "Enter another component?" prompt.
  1396.  
  1397.           Name: 8051 uP                 Designation: IC1
  1398.           Definition file: DIP40V6      Placement: Left side
  1399.           Pad Size: 0.05
  1400.  
  1401.           Name: 74ls373                 Designation: IC2
  1402.           Definition file: DIP20V3      Placement: Upper right
  1403.           Pad Size: 0.05
  1404.  
  1405.  
  1406.           Name: 2716                    Designation:  IC3
  1407.           Definition file: DIP24V6      Placement: Lower right
  1408.           Pad Size: 0.05
  1409.  
  1410.           Name: 100k resistor           Designation:  R1
  1411.           Definition file: 2PAD50V      Placement: Upper middle
  1412.           Pad Size: 0.06
  1413.  
  1414.           Name: 10k resistor            Designation:  R2
  1415.           Definition file: 2PAD50V      Placement: Lower middle
  1416.           Pad Size: 0.07
  1417.  
  1418.           N exits to the board definition menu.
  1419.           4.   Next,  enter the list of connection between chips.  Select 2
  1420.                from  the menu to enter the connection entry section.  Enter
  1421.                the following connections.  All traces should be 0.02 inches
  1422.                wide.    Answer N  to each  prompt  of "Is  this  a priority
  1423.                connection?".   When  the last  connection has  been entered
  1424.                answer N to the "Enter another connection prompt?".
  1425.  
  1426.           Source Device  Pin  Destination Device  Pin
  1427.  
  1428.                                                           PC-Trace Users Manual
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.                                                                          25
  1437.  
  1438.                IC1  2         IC3       2
  1439.                IC1  3         IC2       16
  1440.                IC3  22        IC2       6
  1441.                R1   1         IC2       4
  1442.                R2   1         IC1       8
  1443.                R2   2         IC3       6
  1444.                R1   2         IC1       31
  1445.                IC2  8         IC3       17
  1446.                IC1  21        IC1       15
  1447.                IC2  8         IC3       8
  1448.                IC2  9         IC3       9
  1449.                IC2  10        IC3       10
  1450.                IC1  14        IC2       9
  1451.  
  1452.           N returns to the menu.
  1453.           5.   Ok, let's autoroute the board.  Go back to the main menu and
  1454.                select  4  to autoroute  the board.    When prompted  to use
  1455.                single sided routing or not, answer  Y.  Now hit the ESC key
  1456.                and  watch  the machine  route.   When  it is  done  is will
  1457.                display the  list of uncompleted connections  to the printer
  1458.                or  screen.   Select whichever  you  wish.   We will  now be
  1459.                dropped back to the main  menu.  We can take a look  at what
  1460.                we have done by  selecting number 5 from  the menu.   Cursor
  1461.                around  and see a representation of the board on the screen.
  1462.                Hit ESC when done.
  1463.  
  1464.                Now let's re-route the  board using double sided techniques.
  1465.                This time  say N to single  sided and Y to  double sided and
  1466.                then hit ESC.  The machine will route double sided and again
  1467.                give  a list of incomplete connections if any exist.  Select
  1468.                printer or screen for this  list.  Let's take a look  at the
  1469.                board again.  This time we may also want to use the S key to
  1470.                change sides of the board that we are viewing.  When you are
  1471.                done hit ESC.
  1472.           6.   From the main  menu, hit  6 for statistics.   Displayed  are
  1473.                five statistics that tell you how good your  design is.  Hit
  1474.                space when you are done with this.
  1475.           7.   Last of all we'll print out our design.  Follow instructions
  1476.                in the section on the RPRINT Subprogram to do this.
  1477.  
  1478.  
  1479.  
  1480.  
  1481.  
  1482.  
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488.                                                           PC-Trace Users Manual
  1489.  
  1490.  
  1491.  
  1492.  
  1493.  
  1494.  
  1495.  
  1496.                                                                          26
  1497.  
  1498.                                 RPRINT.EXE Subprogram
  1499.  
  1500.                Execute  this program by typing RPRINT  from the dos prompt.
  1501.           Upon  entry into  this program the  user will  be prompted  for a
  1502.           printer type.  Enter the corresponding number.  The second prompt
  1503.           is for  the board name.   Type the  name with no  extension.  The
  1504.           main control  panel will  now explode  onto the  screen.   A math
  1505.           coprocessor is particularly useful in this program.
  1506.           1. File name:  Selecting 1  will allow changing of the file to be
  1507.                          printed.  Enter the filename with no extension.
  1508.           2. Board side: This selects  the board side to  print.  Selecting
  1509.                          this  number will  toggle  between three  possible
  1510.                          sides   to   print    (Solder,   Component,    and
  1511.                          Silkscreen).  Single sided  boards are done on the
  1512.                          solder side.
  1513.           3. Mirroring:  This  selection toggles between  mirroring and not
  1514.                          mirroring the board.
  1515.           4. Negative:   This  function  will  allow  the  user  to  select
  1516.                          between printing  a negative or a  positive of the
  1517.                          actual board.
  1518.           5. Actual size:     Laser printers and 24 pin dot matrix printers
  1519.                               can output the images at actual size.  If the
  1520.                               selected  printer  lacks  the  resolution  to
  1521.                               achieve acceptable results, this  menu choice
  1522.                               will  not exist.   Selection  of  this choice
  1523.                               allows  toggling  between  actual   size  and
  1524.                               double sized printing.
  1525.  
  1526.           6. Pin1 square:     Toggling this  to the on position  will print
  1527.                               the  number one  pin of  all components  as a
  1528.                               square.  This  is useful for identifying  the
  1529.                               number one pin when placing the components on
  1530.                               the finished circuit board.
  1531.           7. Output file:     After selecting this menu choice, the user is
  1532.                               prompted for an output  file name.  Enter the
  1533.                               filename without an  extension.  The printout
  1534.                               of the file will now be sent to the file that
  1535.                               was designated.   The file will  be given the
  1536.                               extension  .PRT.    Be  careful  if  printing
  1537.                               multiple  files not  to overwrite  a previous
  1538.                               printing.
  1539.           8. Print Board:     This  selection starts  the  printing of  the
  1540.                               board.
  1541.           9. Exit program:    This  selection exits the RPRINT program back
  1542.                               to DOS.
  1543.           Plotter Notes:
  1544.                In using RPRINT with plotters, no provision is made to print
  1545.           to a serial port.   With DOS 3.3 and later, the MODE  command can
  1546.           be used  to redirect  printer output  to  the serial  port.   Two
  1547.  
  1548.                                                           PC-Trace Users Manual
  1549.  
  1550.  
  1551.  
  1552.  
  1553.  
  1554.  
  1555.  
  1556.                                                                          27
  1557.  
  1558.           commands are needed.
  1559.           MODE ComX:9600,N,8,1,p (press return) X is the com number
  1560.           MODE LPT1:=ComX: (press return)
  1561.           MODE LPT1: (press return) will return to normal operation
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567.  
  1568.  
  1569.  
  1570.  
  1571.  
  1572.  
  1573.  
  1574.  
  1575.  
  1576.  
  1577.  
  1578.  
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594.  
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604.  
  1605.  
  1606.  
  1607.  
  1608.                                                           PC-Trace Users Manual
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.                                                                          28
  1617.  
  1618.                                         DEFGEN
  1619.                                       Subprogram
  1620.  
  1621.  
  1622.                The  program needs  to  know the  exact  pin layout  of  any
  1623.           component  placed on the board.  This function allows creation of
  1624.           these definitions.   The largest difference  between this version
  1625.           and previous versions  of PCTRACE is  that surface mount  support
  1626.           can be acheived more easily.   When a device is defined, all pins
  1627.           of the surface mount  part must be terminated at  a through-holed
  1628.           pad.   That is  the same as  before.  With  version 5.0, pads and
  1629.           traces can  be defined within  the definition  file allowing  the
  1630.           user to draw small traces with flat pads to serve as locations to
  1631.           mount  a surface mount  part.  A  silkscreen outline  can also be
  1632.           drawn with the manual router in "SILKSCREEN" mode.
  1633.                The program  is  started by  typing  "DEFGEN" from  the  dos
  1634.           prompt in the PCTRACE subdirectory.
  1635.  
  1636.  
  1637.           ***Note:  Most chip  dimensions are available in  data books such
  1638.                     as RCA cross reference manuals.  Radio Shack  also puts
  1639.                     device dimensions on the back of their packages.
  1640.  
  1641.                When running DEFGEN to create  new chip layout patterns many
  1642.           keys are active.  A summary of each key follows:
  1643.  
  1644.           S - switch sides:
  1645.                This function changes the side of the board displayed.  When
  1646.                S is entered from the keyboard,  the other side of the board
  1647.                will  be displayed.    The program  supports  only 2  sides,
  1648.                solder and component.
  1649.  
  1650.           K - Silkscreen toggle:
  1651.                Pressing  this key  toggles  the drawing  on the  silkscreen
  1652.                layer as opposed to the solder  or component layers.  When K
  1653.                is pressed a green "SILKSCREEN" appears at the bottom of the
  1654.                screen.   The only commands that are available at this point
  1655.                are  the F9, manual router,  which is used  to draw the part
  1656.                outline, F10  which allows placing  text in addition  to the
  1657.                component designation, F1  which is Load, F2 which  is Save,
  1658.                and F3 which is erase.
  1659.  
  1660.           G - grab location:
  1661.                The key is only active at certain times.  The F4, F5, F7 and
  1662.                F10 functions all use this key.
  1663.  
  1664.           B - Turn on background:
  1665.                This key is  used to turn  on and off the  background layer.
  1666.                If the user is editing the solder side, this key will show a
  1667.  
  1668.                                                           PC-Trace Users Manual
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.                                                                          29
  1677.  
  1678.                lightened view of the  component side.  On a  color monitor,
  1679.                it will appear  dotted and  red.  Black  and white  monitors
  1680.                will show dotted graphics only.  Pressing B again turns this
  1681.                mode off.
  1682.  
  1683.           E or ESC - end:
  1684.                Pressing E  or ESC will exit  from the DEFGEN program.   The
  1685.                exit is immediate and should be used carefully.
  1686.  
  1687.  
  1688.           Cursor Keys:
  1689.                The  cursor keys move the  solid block around  on the board.
  1690.                Each time the  arrow key is pressed, the cursor  will move 1
  1691.                space.  Relative  coordinates are displayed at the bottom of
  1692.                the screen.   Using Shift-Arrow moves the  cursor 10 spaces.
  1693.                If the cursor comes to  the edge of the screen, but  not the
  1694.                edge of the board, the screen will shift the board over.
  1695.  
  1696.           Function Keys:
  1697.                The function keys  numbered F1-F10  do the  majority of  the
  1698.                work in  DEFGEN.   They allow the  user to  place vias,  run
  1699.                traces,  delete traces,  resize traces,  add pads,  and draw
  1700.                component outlines.
  1701.  
  1702.           F1 - Load Definition:
  1703.                By pressing F1, the bottom of the screen will prompt  for an
  1704.                input definition  file name.   Enter  the  filename with  no
  1705.                extension.  If the file is found it will be displayed on the
  1706.                screen  for editing.  Please  feel free to  use the provided
  1707.                definition files in creating others.
  1708.  
  1709.           F2 - Save Definition:
  1710.                This  function  will prompt  for  a  save filename  for  the
  1711.                definition.  Enter the save filename with no extension.  The
  1712.                program  will notify the user if the file already exists and
  1713.                check to make sure that  it is alright to rewrite the  file.
  1714.                Once the file has been written with this command, DEFGEN can
  1715.                be exited and the definition used in PCTRACE.
  1716.  
  1717.           F3 - Erase:
  1718.                This  command has  four options.   Option  1 will  erase the
  1719.                component layer of  everything except the pads.   The second
  1720.                option deletes everything but the pads off the solder layer.
  1721.                The third  layer will  remove everything off  the silkscreen
  1722.                layer  except for  the  placement of  the designation  text.
  1723.                Option 4 deletes  everything, including the pads.   Option 5
  1724.                exits without deleting anything.
  1725.  
  1726.  
  1727.  
  1728.                                                           PC-Trace Users Manual
  1729.  
  1730.  
  1731.  
  1732.  
  1733.  
  1734.  
  1735.  
  1736.                                                                          30
  1737.  
  1738.           F4 - Delete Trace:
  1739.                This  function will delete any part of any trace that exists
  1740.                in the  definition. Pressing F4 enters  the delete selection
  1741.                mode.   After pressing  F4 the screen  will say to  use G to
  1742.                grab  the parts  to be deleted.   As  G is  pressed on valid
  1743.                traces, the pieces will be highlighted.  The user can change
  1744.                screens by moving the cursor  off the screen without  losing
  1745.                the  already selected traces.  Once all the traces to delete
  1746.                have been  selected, press  F4 again  and  the program  will
  1747.                prompt  to make sure you wish to delete the selected traces.
  1748.                Answer Y to finish the delete operation.
  1749.  
  1750.           F5 - Add New Pad:
  1751.                This  function key will  add a  pad at  the location  of the
  1752.                cursor  when G  is pressed.   All  components must  have pad
  1753.                definitions.   The router is unable to route to a trace that
  1754.                cannot be specified by an attached pad.  The pads are placed
  1755.                in  sequence so  be  sure  to  place  them  in  the  package
  1756.                numbering order.
  1757.  
  1758.           F6 - Delete Last Pad:
  1759.                This function deletes  the last placed pad from  the screen.
  1760.                It requires that the definition be regenerated so the screen
  1761.                will be redrawn.
  1762.  
  1763.           F7 - Resize trace:
  1764.                This function will resize  a trace to any valid  trace size.
  1765.                Select F7  and then  use G to  select the traces  to resize.
  1766.                Once  you have selected the  traces to resize,  press F7 and
  1767.                you will be asked  if you really wish to resize  the traces,
  1768.                answer Y  if you do.   Next the program will  prompt for the
  1769.                trace  size. 1 corresponds to 0.01 up to 7 which corresponds
  1770.                to 0.07 inches.  Be  careful not to overlap other  traces or
  1771.                pads with this function.
  1772.  
  1773.           F8 - Coordinates for Designation:
  1774.                This  function   will  anchor  the  location   of  the  part
  1775.                designation.  Normally the designation moves to the centroid
  1776.                of the area  defined by  the pads.   For most  applications,
  1777.                like  DIPs,  this  is  acceptable.    Some  parts,  such  as
  1778.                transistors, benefit from having the designation text placed
  1779.                above  or below the pads.  Selecting this option will prompt
  1780.                for a location for the center of the designation text.  Move
  1781.                to  that location and press G.   The next prompt asks if the
  1782.                user  desires double sized text.   If "yes"  is entered, the
  1783.                designation will be drawn 0.1  inches high on the silkscreen
  1784.                layer.  "No" will draw text 0.05 inches high.
  1785.  
  1786.  
  1787.  
  1788.                                                           PC-Trace Users Manual
  1789.  
  1790.  
  1791.  
  1792.  
  1793.  
  1794.  
  1795.  
  1796.                                                                          31
  1797.  
  1798.           F9 - Manual Route:
  1799.                This  function allows  the  user to  manually route  traces.
  1800.                Place  the cursor on the  starting pad, trace,  or open area
  1801.                and press  F9.  Now use the cursor control keys to route the
  1802.                trace.     Every  time  the   cursor  moves,  the  trace  is
  1803.                lengthened.  When done, press F9.   If the end is on another
  1804.                trace, pressing F9 will add the proper connecting point.  If
  1805.                the green  SILKSCREEN indicator  is  on, the  trace will  be
  1806.                routed in green.  This should be used to draw the outline of
  1807.                the part.  This outline will be displayed in the interactive
  1808.                router and when printing the silkscreen.
  1809.  
  1810.           F10 - Write Text:
  1811.                Pressing  F10 allows the addition  of text to the silkscreen
  1812.                layer.  After  pressing F10, you  will be asked to  move the
  1813.                cursor  to the starting position  for the text  and press G.
  1814.                After pressing  G, the  software  will prompt  for the  text
  1815.                string.   It will  accept up  to 20  characters.   When done
  1816.                entering  text, press return.  The next prompt is for double
  1817.                sized  text.  Answer "yes"  and the text  will appear double
  1818.                sized.  The  board will then be redrawn  with the text added
  1819.                in.
  1820.  
  1821.           Using a mouse in the DEFGEN program:
  1822.                The  mouse  allows  usage  of all  the  functions  mentioned
  1823.           previously except for the  manual router.  The mouse  driver must
  1824.           be installed  before running the  DEFGEN program.   When entering
  1825.           the interactive  program, four  arrows will  appear in  the lower
  1826.           right corner  of the  screen.   By using  the mouse,  putting the
  1827.           cursor on one of  these arrows, and pressing the left  button the
  1828.           screen will be moved by  half in that direction.  The  same thing
  1829.           was accomplished by  moving the  cursor off the  board using  the
  1830.           arrow keys.
  1831.                Pressing the right mouse button will pop up a menu along the
  1832.           bottom of the screen.  The  menu corresponds to function keys F1-
  1833.           F8, and F10.  The exit command  at the far right, exits the menu.
  1834.           By  placing the  cursor  anywhere on  the  command desired,  that
  1835.           command  can be  executed by  pressing the left  button.   If the
  1836.           command selected  is F4,  F5, F7, F8,  or F10, the  "Grab" method
  1837.           will be in use.  The left button  works the same as the G key  in
  1838.           these cases.  Use  it to highlight sections and locations  on the
  1839.           board to work with.  When using the delete and resizing functions
  1840.           (F4 and F7) the user  must press and release the left  button for
  1841.           each piece of trace.
  1842.  
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.                                                           PC-Trace Users Manual
  1849.  
  1850.  
  1851.  
  1852.  
  1853.  
  1854.  
  1855.  
  1856.                                                                          32
  1857.  
  1858.                                   Keyboard Summaries
  1859.                                      for PCTRACE
  1860.  
  1861.           Chip Placement Screen:
  1862.           ESC       - Option to Abandon Placement
  1863.           RET       - Place chip at current location
  1864.           Cursor Keys    - Moves chip one space for each depression
  1865.           Shift Cursor Key - Moves chip 10 spaces for each depression
  1866.  
  1867.           Spider Web System:
  1868.           M*        - Set system to move highlighted chip
  1869.           Cursor keys    - Move chip one space on board
  1870.           RET       - Place chip at current location
  1871.           ESC       - Abandon placement
  1872.           +,-*      - Increment and Decrement through chips
  1873.           E*        - Exit Web System
  1874.  
  1875.           * -  Denotes that  this selection is  displayed on screen  at all
  1876.                times.
  1877.  
  1878.           Interactive Router:
  1879.           S         - Display other side of board
  1880.           G         - Grab a piece of trace at cursor
  1881.           E,ESC          - Exit interactive router
  1882.           B         - Turns on and off background
  1883.           C         - Allows movement of devices
  1884.           K         - Turns silkscreen layer on and off
  1885.           F1        - Select source pad
  1886.           F2        - Select destination pad
  1887.           F3        - Attempt to connect source and destination
  1888.           F4        - Delete traces
  1889.           F5        - Place via at cursor location
  1890.           F6        - Delete via at cursor location
  1891.           F7        - Resize selected trace
  1892.           F8        - See if route is possible between source              
  1893.                       and destination pads
  1894.           F9        - Enters and exits the manual router
  1895.           F10       - Puts user text on the silkscreen layer
  1896.  
  1897.  
  1898.  
  1899.  
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.                                                           PC-Trace Users Manual
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.                                                                          33
  1917.  
  1918.  
  1919.  
  1920.  
  1921.  
  1922.  
  1923.  
  1924.  
  1925.                                          SCAD
  1926.  
  1927.  
  1928.  
  1929.  
  1930.  
  1931.  
  1932.                                   Schematic Capture
  1933.  
  1934.                                      Version 1.0
  1935.  
  1936.                                      Users Manual
  1937.  
  1938.                                     June 21, 1992
  1939.  
  1940.  
  1941.  
  1942.  
  1943.  
  1944.  
  1945.  
  1946.  
  1947.                                           by
  1948.  
  1949.  
  1950.  
  1951.  
  1952.  
  1953.  
  1954.                                   Douglas E. Ehlers
  1955.  
  1956.                                Copyright (C) 1991,1992
  1957.  
  1958.  
  1959.  
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.                
  1971.                
  1972.  
  1973.                                      Introduction
  1974.  
  1975.                Schematic   CAD  is   a  program   for  drawing   electrical
  1976.           schematics.  While this drawing is being made, the software keeps
  1977.           track of all components and connections between them.  It is then
  1978.           possible to create an  export file (.NLT) that PC-Trace  can load
  1979.           and create  a board from.   This allows  the designer a  complete
  1980.           cycle  for production of a circuit board.  From conceptual design
  1981.           to computer controlled manufacture of the board,  this system has
  1982.           it all.
  1983.  
  1984.           Menu Usage:
  1985.                The menu  system in  SCAD requires  the use of  a mouse  for
  1986.           complete use of the  system.  Some functions can  be accomplished
  1987.           with  the use  of the  keyboard only.   Using  a mouse,  move the
  1988.           cursor  to the area  of the desired menu  selection.  By pressing
  1989.           the left  mouse button, a pull  down menu will appear.   Move the
  1990.           mouse down the menu  until the desired choice is  highlighted and
  1991.           release the button.  The menu  choice will be executed.   Another
  1992.           way to make menu choices is to open  the menu by pressing the ALT
  1993.           key and the  highlighted menu area key.   For example ALT-F  will
  1994.           open the Files  Menu.  The cursor  keys can be  used to move  the
  1995.           highlight bar up and down the menu.  Pressing return will  select
  1996.           the  menu  choice.   Once the  menu  appears, pressing  the first
  1997.           letter of the desired  choice will move the highlight bar to that
  1998.           choice.
  1999.                Some menus have  small arrows  that point to  the right.  By
  2000.           moving the  mouse across that arrow a  submenu will appear.  That
  2001.           menu  responds the  same way  as  the rest  of the  menus.   Many
  2002.           functions  use this  concept including  Print, Draw,  Delete, and
  2003.           Move.
  2004.  
  2005.           File Menu:
  2006.           New Diagram:
  2007.                     The New Diagram function from the FILES menu will clear
  2008.                the drawing space that SCAD uses to store files.  A dialogue
  2009.                box is used to confirm this selection.
  2010.  
  2011.           Load Diagram:
  2012.                     The Load Diagram  file will load  a schematic that  was
  2013.                saved  previously.   The  program will  prompt for  the file
  2014.                name.  Enter  the name  without the extension  (.SCH).   The
  2015.                program  will add the extension.  If the program cannot find
  2016.                the file it will report it and give the  user another chance
  2017.                to enter the filename or to exit back to the drawing area.
  2018.  
  2019.           Save Diagram:
  2020.                     The  Save Diagram  function  saves whatever  is in  the
  2021.                memory of the system at a given point.  When  prompted for a
  2022.                save name, enter the name with no extension.  SCAD  will add
  2023.                the extension (.SCH).  If the program can't find the entered
  2024.                file name, it will save the information from the given mode.
  2025.                If  the program finds that the save filename exists, it will
  2026.                prompt to see  if the old file  should be overwritten, or  a
  2027.                new file name should be specified.
  2028.  
  2029.                                                           PC-Trace Users Manual
  2030.  
  2031.  
  2032.  
  2033.  
  2034.  
  2035.  
  2036.  
  2037.                                                                          35
  2038.  
  2039.  
  2040.  
  2041.  
  2042.  
  2043.           Export DXF:
  2044.                     The Export  DXF function  is used  for creating  a file
  2045.                format that can  be read  by many popular  CAD programs  and
  2046.                word-processing packages.  The DXF format used is compatible
  2047.                back to Autocad Version 2.6.  The program will  prompt for a
  2048.                save  name.   Give the  file  name with  no extension.   The
  2049.                program will add it  (.DXF) automatically.  If  the filename
  2050.                already  exists on the disk,  the program will  prompt as to
  2051.                whether  or not to overwrite  the file.   Answering yes will
  2052.                overwrite the old filename, and answering no will cause SCAD
  2053.                to prompt for a new file name.
  2054.  
  2055.           Export PC-Trace:
  2056.                     The function is used  to create a netlist that  PCTRACE
  2057.                can  load.   It  contains  a  list  of  all  components  and
  2058.                connections  that have  been  entered while  using the  SCAD
  2059.                software.  All that will be required on the PCTRACE side  is
  2060.                to place  the  components and  start  the autorouter.    The
  2061.                program prompts for the export filename.  Enter the filename
  2062.                with no  extension, the  program will add  it automatically.
  2063.                If the program finds that  the entered filename exists,  the
  2064.                program will allow the option of overwriting the file or re-
  2065.                entering a new filename.
  2066.  
  2067.           Print Total/Window:
  2068.                     Print has  two options,  one, the option  called Total,
  2069.                that will  find the extents  of the drawing and  scale it to
  2070.                fit  on a page.   The second, or  Window, essentially prints
  2071.                what  is currently  being viewed  on the  screen.   Once the
  2072.                program is told to  print, it will create a print file, save
  2073.                the  current drawing  and chain  to the  sprint.exe program.
  2074.                The  first prompt in this  program is for  the printer type.
  2075.                The  user should  select  their printer  or  one that  their
  2076.                printer emulates.  The  sprint menu can print to  a file and
  2077.                that is toggled  with option 1.   When prompted for  a print
  2078.                filename,  enter the filename with no extension.  The second
  2079.                option will  allow printing  in portrait or  landscape mode.
  2080.                Option 3  actually prints  the drawing,  and option  4 exits
  2081.                sprint.exe and returns to SCAD.
  2082.  
  2083.           Show Drawing Info:
  2084.                     This  function  will  show  basic  drawing  information
  2085.                including the  current SNAP value, the  current window size,
  2086.                the  amount  of  free   memory,  and  the  currently  loaded
  2087.                filename.
  2088.  
  2089.           Exit:
  2090.                     The exit  function exits whichever mode  the program is
  2091.                currently running  in.  This function can  also be activated
  2092.                by  pressing ALT-X.  If  the user is  currently operating in
  2093.  
  2094.                                                           PC-Trace Users Manual
  2095.  
  2096.  
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102.                                                                          36
  2103.  
  2104.                the Component  Drawing area, it  will exit the  drawing pad.
  2105.                If the user is editing the  main drawing, it will allow exit
  2106.                of the program.  No option is given to the user  to save the
  2107.                file once exiting the program is answered with an OKAY.
  2108.  
  2109.  
  2110.           Drawing Symbols:
  2111.                When Draw Component is selected from the Components menu,  a
  2112.           box appears  in the center  of the screen.   This is  the drawing
  2113.           area  for creation of  components.  A  component in this  case is
  2114.           defined to  be the  schematic symbol  for any part  that will  be
  2115.           placed in  the drawing.   A  small library  of common symbols  is
  2116.           included with the system for the user.  Invariably, a symbol will
  2117.           be  needed that  is not included.   That  is the  purpose of this
  2118.           editor.
  2119.                Once  the box appears in the middle of the screen, the Files
  2120.           menu  and the  Entities  menu  come  into  play.    Only  certain
  2121.           functions may  be used in each.   The unusable functions  will be
  2122.           grayed out and the  user will be unable to  use them.  The  Load,
  2123.           Save, New, and Exit functions in the Files menu work as described
  2124.           previously, except  that they only  apply to  the current  symbol
  2125.           being drawn.   For example, if an AND gate is drawn in this area,
  2126.           saving  it will only save the representation  of the AND gate and
  2127.           not the overall drawing.
  2128.                The  save routine itself is different at this point as well.
  2129.           It includes a  short routine that  asks the user  to outline  the
  2130.           symbol with a bounding  box before the save takes  place.  Select
  2131.           the  upper left  and lower  right of  the drawing  to save.   The
  2132.           entire drawing will  be shifted to call the upper  left corner of
  2133.           the bounding box the origin for later use.
  2134.                The  following  overview  tells  how  the  various  Entities
  2135.           commands work and what they do.  Their usage here is  essentially
  2136.           the same as their usage in the main drawing area.
  2137.  
  2138.           Draw-Line:
  2139.                     This function  is used to draw lines within the drawing
  2140.                window.   At the bottom of the  screen, SCAD will prompt the
  2141.                user  as  to  what   the  program  expects.     The  current
  2142.                coordinates  are shown  at  the bottom  right.   Select  the
  2143.                location of the  starting point  of the line  and click  the
  2144.                left  or right button.  Clicking the left button will anchor
  2145.                the  start  of  the  line at  the  current  mouse  location.
  2146.                Clicking the right button will anchor the start point at the
  2147.                current  point, plus it will  draw a connection  dot at this
  2148.                point.   The dot  will not  appear until  the start and  end
  2149.                points  of the line have been specified.  After clicking the
  2150.                left  or right button, the  program will prompt  for the end
  2151.                point.  Click either the right or left button.   The buttons
  2152.                have the same effect  as when picking the start  point.  ESC
  2153.                will exit or back up while  drawing lines.  To draw  another
  2154.                line, select this function again.
  2155.  
  2156.  
  2157.                                                           PC-Trace Users Manual
  2158.  
  2159.  
  2160.  
  2161.                                                           
  2162.  
  2163.                                                                          37
  2164.  
  2165.           Draw-Arc:
  2166.                     This function is used to draw  an arc of some size.  It
  2167.                can be used to draw 1/4 arcs from any start point to any end
  2168.                point and  at any  diameter.   The first  prompt is  for the
  2169.                center  point of the  arc.  Move the  mouse to this location
  2170.                and click  a button.  The second prompt is for the radius of
  2171.                the  arc.  Move the  pointer to the  location that shows the
  2172.                desired radius.   A floating line reminds the user as to the
  2173.                current length.  The next point is for the start of the arc.
  2174.                Pick  this point as before.  The  last prompt is for the arc
  2175.                ending point.   Click on this point.  The  arc will be drawn
  2176.                from the start point, counter-clockwise, to the end point at
  2177.                the  given radius.   ESC  will back  up at  any time  to the
  2178.                previous  prompt or will exit the function.  To draw another
  2179.                arc, pick this function again.
  2180.  
  2181.           Draw-Circle:
  2182.                     This function draws a circle  at some center point  and
  2183.                some radius.  When prompted, pick the center point and click
  2184.                a mouse button.  The second  prompt is for the radius of the
  2185.                circle.  Click on this point and the circle will be drawn on
  2186.                the screen.  ESC will back up to the previous prompt or exit
  2187.                the function.   To draw  another circle, pick  this function
  2188.                again.
  2189.  
  2190.           Draw-Text:
  2191.                     This  function is used place  text on the  screen.  The
  2192.                first prompt is for the starting location of the text.  This
  2193.                point is located at the top, left corner of the text string.
  2194.                Select  this  point  by  moving the  mouse  to  the  desired
  2195.                location and click  a button.  The second prompt  is for the
  2196.                scale of the text.  This number is the size of  the text.  A
  2197.                value of  0.25 will  create a string  with characters  every
  2198.                0.25  units.   The  third  prompt is  for  horizontal versus
  2199.                vertical text.  Answering yes  will draw the text horizontal
  2200.                and no will  draw the  string vertically.   The letters  are
  2201.                always upright, they are not rotated for vertical text.  The
  2202.                last prompt is for the text string itself.  This string will
  2203.                be displayed on  the drawing  itself.    When entering  text
  2204.                pressing  return  at the  end of  the  string will  draw the
  2205.                normal  text.  If the up-arrow cursor key is pressed instead
  2206.                of return, the text will be drawn with a line over it.  This
  2207.                is useful for digital systems when a signal is active low.
  2208.  
  2209.           Delete-Line:
  2210.                     This function is used to delete lines from the  current
  2211.                drawing area.  A  line will be highlighted  in red and  made
  2212.                dotted.   If this line  is to  be deleted press  Y for  yes.
  2213.                Another line will be  highlighted.  Pressing Y for  yes will
  2214.                delete that line  as well.   Other options for  keys are  to
  2215.                press N for no.  Saying no will move to the next line, or if
  2216.                no  other lines exist, will  exit the function.   Pressing B
  2217.                for back will back up to  the previous line.  This was added
  2218.                in  the  case  of   many  lines  on  the  screen   and  user
  2219.                inadvertently bypassed  the desired line.  ESC  will exit at
  2220.                any  time, leaving the current  line shown on  the screen in
  2221.  
  2222.                                                           PC-Trace Users Manual
  2223.  
  2224.  
  2225.  
  2226.  
  2227.  
  2228.                                                                          38
  2229.  
  2230.                the correct color.
  2231.  
  2232.           Delete-Circle/arc:
  2233.                     This function  is used to delete  circles/arcs from the
  2234.                current  drawing area.  A  circle/arc will be highlighted in
  2235.                red and made  dotted.  If this  circle/arc is to  be deleted
  2236.                press  Y for yes.   Another circle/arc  will be highlighted.
  2237.                Pressing Y  for yes  will  delete that  circle/arc as  well.
  2238.                Other options  for keys are  to press N  for no.   Saying no
  2239.                will  move   to  the  next   circle/arc,  or  if   no  other
  2240.                circles/arcs exist, will exit the function.   Pressing B for
  2241.                back  will back  up to  the previous  circle/arc.   This was
  2242.                added in the case of many circles/arcs on the screen and the
  2243.                user  inadvertently bypassed  the  desired circle/arc.   ESC
  2244.                will exit at any time,  leaving the current circle/arc shown
  2245.                on the screen in the correct color.
  2246.  
  2247.           Delete-Text:
  2248.                     This function is  used to delete text  from the current
  2249.                drawing area.  A text string will be highlighted  in red and
  2250.                made dotted.  If this text is to be deleted press Y for yes.
  2251.                Another text string will be highlighted.  Pressing Y for yes
  2252.                will  delete that text as well.   Other options for keys are
  2253.                to  press N for  no.  Saying  no will move  to the next text
  2254.                string,  or if no other text exists, will exit the function.
  2255.                Pressing B for back will back up to the previous text.  This
  2256.                was added in the case of many text strings on the screen and
  2257.                the user inadvertently bypassed the  desired text.  ESC will
  2258.                exit  at any  time, leaving  the current  text shown  on the
  2259.                screen in the correct color.
  2260.  
  2261.           Regenerate:
  2262.                     Selecting this function will redraw the current screen.
  2263.                SCAD sometimes creates a little  garbage on the screen  when
  2264.                adding and deleting lines.  This function will clean it up.
  2265.  
  2266.           Set Snap:
  2267.                     The Snap function  is used  to set  absolute units  and
  2268.                endpoints for drawing operations.  If the Snap  function has
  2269.                already been turned  on, selecting it again will  prompt the
  2270.                user  that it will now be turned  off.  If the Snap function
  2271.                is  currently off, a text entry dialogue box will appear and
  2272.                the snap  value will  be given.   Common values  are 0.1  or
  2273.                0.25.   Any value between 0  and 1 can be  entered and used.
  2274.                All subsequent usage of drawing commands will move endpoints
  2275.                of lines, arcs, circles and text to the grid points shown.
  2276.  
  2277.           Scale:
  2278.                     The  scale menu selection is used to change the size of
  2279.                the current symbol  uniformly across its  entire area.   The
  2280.                value  that  is  entered  when the  dialogue  box  opens  is
  2281.                multiplied by  the  dimensions of  all the  entities in  the
  2282.                symbol.   For example, if the  symbol was 1 unit  long and a
  2283.                scale factor of  0.5 was  entered, the final  length of  the
  2284.  
  2285.                                                           PC-Trace Users Manual
  2286.  
  2287.  
  2288.  
  2289.           
  2290.  
  2291.                                                                          39
  2292.  
  2293.                symbol  would be 0.5 units.  Pressing  ESC will exit with no
  2294.                changes.
  2295.  
  2296.           Shift Space:
  2297.                     The shift  space routine  will move the  entire drawing
  2298.                some  offset specified  by  entering a  starting and  ending
  2299.                point of a  line.  If a line  from 1,1 to 2,2 is  drawn, the
  2300.                entire drawing will be shifted 1 unit right and 1 unit down.
  2301.                To draw the line, when prompted, click on the starting point
  2302.                and ending point.   After the second click the  drawing will
  2303.                be shifted.  ESC will exit backwards or out of this routine.
  2304.  
  2305.  
  2306.  
  2307.           Extend/Trim:
  2308.                     This  function  allows a  line  to be  extended/trimmed
  2309.                to/by another line, or a circle to be extended/trimmed to/by
  2310.                a line, or  a line  to be extended/trimmed  to/by a  circle.
  2311.                This   function  is  useful   for  designing  symbols  whose
  2312.                intersection of  points aren't on convenient  dimensions.  A
  2313.                good example of this is the  OR gate.  The function works by
  2314.                first prompting  to see if the  object that will  be used to
  2315.                extend or trim with is a line  or a circle/arc.  Press L for
  2316.                line or  C for circle.   The software will now  use the same
  2317.                procedure as  is  used for  deleting objects  to select  the
  2318.                extend/trim edge.  Once it is selected it will be colored in
  2319.                Magenta.  The second  prompt is for the object  to extend or
  2320.                trim.   This  is the  object that  will have  its dimensions
  2321.                modified.  If  the trim object was a line,  the program will
  2322.                give the option of a line or a circle/arc to modify.  If the
  2323.                trim object was a  circle/arc the program will automatically
  2324.                select  the second object  to be a  line.  The  program will
  2325.                highlight each object in succession until the user picks the
  2326.                desired  object to modify.  The next  prompt is for the user
  2327.                to select a point, with the mouse, near the end point of the
  2328.                object to modify.  One more prompt exists if a circle is one
  2329.                of the affected  entities.  This  prompt is to pick  a point
  2330.                near  the projected intersection.  At the end of the prompts
  2331.                the entity will be modified as per the user instructions.  A
  2332.                regeneration may be required as well to clean up the screen.
  2333.  
  2334.  
  2335.                The tools that have been described above  should be adequate
  2336.           for drawing most objects.   Sometimes some creative usage  of the
  2337.           Snap function and Extend/Trim is required.
  2338.  
  2339.           Placing Components/Symbols:
  2340.                This function is used  to place symbols on the  main drawing
  2341.           area.   This area is separate  from the previous area  and has no
  2342.           limits in size  for practical use.   The only limiting  factor is
  2343.           the amount of available memory.
  2344.                When a set  of graphic symbols  are put  together to make  a
  2345.           meaningful  electrical symbol,  they  are grouped  as an  object.
  2346.           They can only be edited by choosing from the Components menu  the
  2347.  
  2348.                                                           PC-Trace Users Manual
  2349.  
  2350.  
  2351.  
  2352.  
  2353.  
  2354.  
  2355.  
  2356.                                                                          40
  2357.  
  2358.           Place Component command.  The Move, Delete, and other commands in
  2359.           the Entities section only affect the objects that have been drawn
  2360.           not using this menu selection.
  2361.                When Place Components is selected with the mouse or keyboard
  2362.           a  window  will appear  in  the  center of  the  screen.   If  no
  2363.           components  have been entered, only two choices will appear: N to
  2364.           exit or A to enter new symbols.  ESC will also exit the function.
  2365.  
  2366.           A-Enter new Components:
  2367.                This  function will clear the window and prompt for the name
  2368.           of the symbol that will be placed.  This name will not  appear on
  2369.           the  symbol itself and is used only  to tell the designer exactly
  2370.           what the part is.
  2371.                The  second prompt  if for  the part  designation.   This is
  2372.           later placed on  the name of the  part and is used  by PCTRACE to
  2373.           specify  autorouter connections.   This  designation need  not be
  2374.           unique  as it must be  in PCTRACE.   The reason for  this is that
  2375.           some parts, such as AND gates  like the 74LS08 have more than one
  2376.           part in them.   This allows  the user  to connect multiple  parts
  2377.           under  one  name.    No  automatic   provision  is  provided  for
  2378.           specifying  which part of the overall part is being connected to,
  2379.           other than the pin number.  The program will notify the user if a
  2380.           duplicate  designation  is  specified  to  verify  that  this  is
  2381.           desired.
  2382.                The  next prompt is a  filename for the  actual parts layout
  2383.           information.   This is the same  file as that used  by PCTRACE to
  2384.           specify  pad locations.  The  program will pop  up a small window
  2385.           with lists of names that  are available for use.  Enter  the name
  2386.           of the part without the extension and the program will display it
  2387.           on the screen  in a  small window.   Information  about the  part
  2388.           appears on the bottom  of the screen.   If it is correct  press Y
  2389.           for yes or click in the Yes box.   If it is not correct, click on
  2390.           the No  box or press N,  the program will reprompt  for the name.
  2391.           This entry is not significant  for drawing the schematic  itself,
  2392.           but is needed for export to PCTRACE.
  2393.                The next prompt  is for the Pad  size.  Enter 1  for 0.05, 2
  2394.           for 0.06, 3 for 0.07 and so forth.
  2395.                The last text prompt is for the name of the schematic symbol
  2396.           that will  be drawn on the  main drawing area.   The program will
  2397.           open a window showing a  list of valid diagram files.   Enter the
  2398.           diagram file with no extension and it will be drawn  to check for
  2399.           user approval.   Answering Y  will move to the  main drawing area
  2400.           for placement, and N  will go back  and reprompt for the  diagram
  2401.           file name.
  2402.                Once the diagram file has been selected the text window will
  2403.           disappear and two  crosshairs will be shown on the  screen.  This
  2404.           is  the size  of the  part that  has been  selected and  is being
  2405.           placed.  Moving the mouse to the desired location and  pressing a
  2406.           mouse  button will  anchor the  location of the  part.   The next
  2407.  
  2408.                                                           PC-Trace Users Manual
  2409.  
  2410.  
  2411.  
  2412.  
  2413.  
  2414.  
  2415.  
  2416.                                                                          41
  2417.  
  2418.           prompt  appears at  the bottom  of the  screen and  asks  for the
  2419.           location  of  the text.    The text  that  will be  drawn  is the
  2420.           designation  name  entered  earlier.   Remember  that  the  point
  2421.           selected is  the upper left corner of  the first character in the
  2422.           string.  The next prompt is for the  text scale and is the actual
  2423.           size, in units,  of the characters that will be  drawn.  The last
  2424.           prompt is for horizontal text.  Answering Y for yes will draw the
  2425.           text  in  a horizontal  line  and N  for  no will  draw  the text
  2426.           vertically.
  2427.                At this point the user is prompted as to whether or not they
  2428.           want to enter another component.  Click on the appropriate space.
  2429.           Answering Y will start the process again, and N will put the user
  2430.           on the last  entered component and give other options  as well as
  2431.           display the current data.  At any point in the previous component
  2432.           entry routine, ESC will back the user up.
  2433.  
  2434.           From a Display of Component Data:
  2435.                Once a  component has  been entered various  editing options
  2436.           can be used on it.  Those options are discussed below:
  2437.           E - Edit Component:
  2438.                This will allow the user to change things such as the  name,
  2439.           designation, pad  size, actual part layout  filename, location of
  2440.           the  diagram, orientation of the diagram, and the location of the
  2441.           text that is associated with this component.  The letters that do
  2442.           each of these are discussed below:
  2443.  
  2444.           A-Name:   This  will prompt for a new name, enter the new name or
  2445.                     press ESC to leave it unchanged.
  2446.  
  2447.           B-Designation: This will prompt for a new designation name, enter
  2448.                          the name or ESC to exit.
  2449.  
  2450.           C-Definition:  This will  prompt for  a new component  pad layout
  2451.                          definition.  Enter the new file or ESC to exit.
  2452.  
  2453.           D-Pad Size:    This will  open a window with  three different pad
  2454.                          sizes.  Enter the desired value.
  2455.  
  2456.           E-Move Comp:   This  will  allow the  user  to  move the  current
  2457.                          symbol  to a  new location.   The  crosshairs will
  2458.                          appear and mouse will move them.  Click the button
  2459.                          on the  location for the  new location.   ESC will
  2460.                          exit.
  2461.  
  2462.           F-Rotate: This function will rotate all  elements associated with
  2463.                     this  component.  The device can be rotated 90, 180, or
  2464.                     270 degrees  counter-clockwise.   It  may require  some
  2465.                     movement of text to make everything look right.
  2466.  
  2467.  
  2468.                                                           PC-Trace Users Manual
  2469.  
  2470.  
  2471.  
  2472.  
  2473.  
  2474.  
  2475.  
  2476.                                                                          42
  2477.  
  2478.           G-Move Text:   This function allows the  user to first select the
  2479.                          text,  using  the previously  mentioned  method or
  2480.                          moving forward, backward,  and selecting.   A  box
  2481.                          appears  that is the  outline of the  text.  Using
  2482.                          the mouse,  move the text to  the desired location
  2483.                          and click a  mouse button.  The  new text location
  2484.                          will now be at this point.
  2485.  
  2486.           H-Exit Edit:   Selecting H, will exit the edit function.
  2487.  
  2488.           A-Enter new Components:
  2489.                This function  allows entry of  more components  and is  the
  2490.           same routine that was discussed at the beginning of this section.
  2491.  
  2492.           Delete:
  2493.                This function will allow deletion  of the component that  is
  2494.           currently on screen.  The entire component can be deleted or just
  2495.           the text.  Enter the  number that is desired.  An entry of 3 will
  2496.           exit  with  no  deletions taking  place.    If  the component  is
  2497.           deleted, all associated connections will be deleted as well.
  2498.  
  2499.           Search:
  2500.                This will allow the user to search from the current location
  2501.           to the end  of the list of components.   Only the Designation can
  2502.           be searched on.  Follow the prompts to do either.
  2503.  
  2504.           + - Next:
  2505.                Pressing  the + key will  display the next  component on the
  2506.           screen.   If at  the  end of  the list,  the  first component  is
  2507.           displayed.
  2508.  
  2509.           - - Previous:
  2510.                Pressing  the - key will  display the next  component on the
  2511.           screen.  If that the beginning of the list, the last component is
  2512.           displayed.
  2513.  
  2514.  
  2515.  
  2516.           Text Entry:
  2517.                This  function allows text entry  that can be  placed on the
  2518.           main drawing area.  This text will be linked in  to the component
  2519.           that is currently displayed.  This text entry should only be used
  2520.           for text that is associated  with the component.  It can  only be
  2521.           modified  from this component.  More general text entry should be
  2522.           done from the  Entities menu  while running in  the main  drawing
  2523.           area.
  2524.  
  2525.  
  2526.  
  2527.                                                           PC-Trace Users Manual
  2528.  
  2529.  
  2530.  
  2531.  
  2532.                                                                          43
  2533.  
  2534.           N to End Component Entry and Editing:
  2535.                N or ESC will move the user  back to main drawing area.  All
  2536.           work will be held in memory.
  2537.  
  2538.           Connection Entry:
  2539.                Only one choice  exists from the Nconnections menu  and that
  2540.           is to make  connections between existing  components.  The  input
  2541.           routine was created to  minimize the amount of time  spent typing
  2542.           and  maximize  the  ease  with which  connections  are  drawn and
  2543.           recorded.  When the selection is executed it automatically starts
  2544.           entry of a new connection.
  2545.                The  first prompt  is  to pick  a  point inside  the  source
  2546.           component.  The  crosshair will  show on the  screen under  mouse
  2547.           control.  Place the crosshair in the "bounding box" of the source
  2548.           component  and click a button.  When prompted for the destination
  2549.           component  do the same  thing.   This will  tell the  program the
  2550.           source and destination components.
  2551.                The  next step is to tell the program the source pin number.
  2552.           Enter it at  the bottom of the  screen when prompted.  The second
  2553.           step is  to use the  mouse to specify  the starting point  of the
  2554.           number just entered.  The third step is to enter the scale of the
  2555.           pin number.  The destination pin number is done  exactly the same
  2556.           was as the source pin.
  2557.                The  source  and destination  pin  number  that are  entered
  2558.           during this process will  be normal text.  The source number will
  2559.           become  part of  the  source component  object  and will  not  be
  2560.           editable from  the main drawing area.  It will be necessary to go
  2561.           into the Place Components section to edit or move the  text.  One
  2562.           reason for this is to move  the pin numbers or change the letters
  2563.           to  have an  overline.   The  same is  true  for the  destination
  2564.           number, it will be attached to the destination component.
  2565.                After  both the source and destination  have been entered, a
  2566.           dialogue   box  appears  to   show  the  user   that  source  and
  2567.           destinations that  have  been  chosen.   If  the  information  is
  2568.           incorrect click  on the No box  or press N,  the connection entry
  2569.           will be  restarted at the beginning.  If yes is selected the line
  2570.           draw  routine will started and  the user can  draw the connection
  2571.           with as many  straight lines as desired.  The  e key for endpoint
  2572.           and  right mouse  buttons are  active for  finding endpoints  and
  2573.           making  connection dots.  The lines drawn will be attached to the
  2574.           current connection object.  Deleting this object will  remove the
  2575.           lines that are associated  with this connection.  The  only other
  2576.           difference between  connections and components is  that the lines
  2577.           drawn in  a connection can  be edited in  the main  drawing area.
  2578.           After the last  line has been entered, pressing  ESC will end the
  2579.           line drawing routine.   After pressing  ESC, the program  prompts
  2580.           asks  if the  user  wants to  enter  another connection  or  not.
  2581.           Answer  yes   to  restart  this  procedure   and  create  another
  2582.           connection.    No will  put the  user  at the  connection editing
  2583.           facilities.
  2584.  
  2585.  
  2586.                                                           PC-Trace Users Manual
  2587.  
  2588.  
  2589.  
  2590.  
  2591.  
  2592.  
  2593.  
  2594.                                                                          44
  2595.  
  2596.           Connection List Menus:
  2597.                Several  options are available from  this point.   A list of
  2598.           commands is shown as the last line in the window.      The   edit
  2599.           command  allows the  user to  change  the source  and destination
  2600.           names and pin numbers.  Changing this information will not change
  2601.           the  graphic  data  that was  entered.    To  change the  graphic
  2602.           representation of the number that are on the drawing will require
  2603.           finding the component that they are associated with.
  2604.                A)enter  new  will  allow  entry of  other  connections  are
  2605.           described above.
  2606.                Delete will delete the listed connection  and the lines that
  2607.           are associated with it.
  2608.                Search  will prompt for  a designation name  and search from
  2609.           the current location to the end of all connections for a matching
  2610.           source or destination designation.
  2611.                '+' and  '-'  move to  next  or previous  connection  entry.
  2612.           These keys  loop from start to  end or end to  start depending on
  2613.           the key.
  2614.                Line will allow the user to draw  lines in addition to those
  2615.           that were drawn during the initial connection entry.  These lines
  2616.           are drawn the same as during connection entry.  ESC will exit the
  2617.           line drawing routine.
  2618.                N for end or ESC will exit  this menu and return the user to
  2619.           the main drawing area.
  2620.  
  2621.           Drawing Entities:
  2622.  
  2623.           Draw-Line:
  2624.                     This function is  used to  draw lines  within the  main
  2625.                drawing area.  At the bottom of the screen, SCAD will prompt
  2626.                the  user as  to  what the  program  expects.   The  current
  2627.                coordinates  are  shown at  the  bottom right.    Select the
  2628.                location of the  starting point  of the line  and click  the
  2629.                left  or right button.  Clicking the left button will anchor
  2630.                the  start  of  the  line  at  the  current  mouse location.
  2631.                Clicking the right button will anchor the start point at the
  2632.                current  point, plus it will  draw a connection  dot at this
  2633.                point.   The  dot will  not appear until  the start  and end
  2634.                points  of the line have been specified.  After clicking the
  2635.                left  or right button, the  program will prompt  for the end
  2636.                point.  Click either the right or  left button.  The buttons
  2637.                have  the  same effect  as  when  picking the  start  point.
  2638.                Another option for selecting the  desired point is to  press
  2639.                'E' while  the program is asking for the start or end point.
  2640.                Pressing  'E' at  this time  will draw  a small  box  on the
  2641.                screen.  Placing this box at or near the endpoint of another
  2642.                line will select  the exact  endpoint of that  line or  arc.
  2643.                The  mouse buttons have the  same effect.   This function is
  2644.                active much of time when in the main drawing area and should
  2645.  
  2646.                                                           PC-Trace Users Manual
  2647.  
  2648.  
  2649.  
  2650.  
  2651.  
  2652.  
  2653.  
  2654.                                                                          45
  2655.  
  2656.                be tested whenever it is  needed.  ESC will exit or  back up
  2657.                while drawing lines.   To draw another line, select  a start
  2658.                and  end point  again.   This  function  will continue  this
  2659.                sequence until ESC is pressed to exit it.
  2660.  
  2661.           Draw-Arc:
  2662.                     This function  is used to draw an arc of some size.  It
  2663.                can  be used to draw any length  arc from any start point to
  2664.                any end point and at any  diameter.  The first prompt is for
  2665.                the  center  point  of the  arc.   Move  the  mouse  to this
  2666.                location and click a button.   The second prompt is  for the
  2667.                radius of the arc.   Move the pointer  to the location  that
  2668.                shows  the desired radius.  A floating line reminds the user
  2669.                as  to the current length.  The  next point is for the start
  2670.                of the arc.  Pick this point  as before.  The last prompt is
  2671.                for  the arc ending  point.  Click  on this point.   The arc
  2672.                will  be drawn  from the  angle of  the start point,  at the
  2673.                selected radius,  counter-clockwise, to the end  angle.  ESC
  2674.                will back up at any time to the previous prompt or will exit
  2675.                the  function.   To  draw  another arc,  pick  this function
  2676.                again.
  2677.  
  2678.           Draw-Circle:
  2679.                     This function draws  a circle at some  center point and
  2680.                some radius.  When prompted, pick the center point and click
  2681.                a mouse button.  The second prompt is for the  radius of the
  2682.                circle.  Click on this point and the circle will be drawn on
  2683.                the screen.  ESC will back up to the previous prompt or exit
  2684.                the function.   To draw another  circle, pick this  function
  2685.                again.
  2686.  
  2687.           Draw-Text:
  2688.                     This  function is used place  text on the  screen.  The
  2689.                first prompt is for the  scale of the text.  This  number is
  2690.                the size  of the text.  A value of 0.25 will create a string
  2691.                with  characters every 0.25 units.  The second prompt is for
  2692.                horizontal versus  vertical text.   Answering yes  will draw
  2693.                the text horizontal and no will  draw the string vertically.
  2694.                The letters  are always upright,  they are  not rotated  for
  2695.                vertical  text.   The third  prompt is  for the  text string
  2696.                itself.   This  string  will be  displayed  on  the  drawing
  2697.                itself.  The last prompt is for the starting location of the
  2698.                text.   This point is located at the top, left corner of the
  2699.                text string.  Select this  point by moving the mouse  to the
  2700.                desired  location and  click a  button.  When  entering text
  2701.                pressing  return  at the  end of  the  string will  draw the
  2702.                normal  text.  If the up-arrow cursor key is pressed instead
  2703.                of return, the text will be drawn with a line over it.  This
  2704.                is useful for digital systems when a signal is active low.
  2705.  
  2706.                                                           PC-Trace Users Manual
  2707.  
  2708.  
  2709.  
  2710.  
  2711.  
  2712.  
  2713.  
  2714.                                                                          46
  2715.  
  2716.           Move-Line:
  2717.                     The move line  is used  to change the  placement of  an
  2718.                existing line.   When this  selection is  made, the  program
  2719.                will highlight  lines in succession until  the user responds
  2720.                with a Y for yes.   At this point the user will be  asked to
  2721.                select, with the  mouse, a base point of movement.  Click on
  2722.                that point. E is active to  select the endpoint of the line,
  2723.                or  any other, for movement.   After the  basepoint has been
  2724.                selected and  the mouse button clicked, the entire line will
  2725.                move with the  movement of the mouse.   Position the line at
  2726.                the desired location and click a button to permanently place
  2727.                the line.  E is active to select an endpoint.  ESC will back
  2728.                up or exit the function.
  2729.  
  2730.           Move-Circle/Arc:
  2731.                     The  move circle/arc  function  is used  to change  the
  2732.                placement of an existing circle/arc.  When this selection is
  2733.                made,  the  program  will  highlight  circles  and  arcs  in
  2734.                succession until the  user responds with  a Y  for yes.   At
  2735.                this point the user will be asked to select, with the mouse,
  2736.                a base point of movement.   Click on that point. E is active
  2737.                to  select  the  endpoint of  the  arc,  or  any other,  for
  2738.                movement.   After the  basepoint has  been selected and  the
  2739.                mouse button  clicked, the entire circle/arc  will move with
  2740.                the movement of the  mouse.  Position the circle/arc  at the
  2741.                desired position and click a button to permanently place the
  2742.                circle/arc.   E  is active  to select an  endpoint.   ESC is
  2743.                active to back up or exit the function.
  2744.  
  2745.           Move-Text:
  2746.                     The  move text function is used to change the placement
  2747.                of  an existing text string.   When this  selection is made,
  2748.                the program will highlight  text strings in succession until
  2749.                the user responds with a Y for yes.  At  this point the user
  2750.                will be  asked to select,  with the  mouse, a base  point of
  2751.                movement.   After  the basepoint  has been selected  and the
  2752.                mouse button clicked, a box  representing the text will move
  2753.                with  the movement of the  mouse.  Position  the text box at
  2754.                the desired position and click a button to permanently place
  2755.                the text.  E is active to select an endpoint.  ESC is active
  2756.                to back up or exit the function.
  2757.  
  2758.           Delete-Line:
  2759.                     This  function is  used to delete  lines from  the main
  2760.                drawing area.  A  line will be highlighted  in red and  made
  2761.                dotted.   If this line  is to  be deleted press  Y for  yes.
  2762.                Another line will be  highlighted.  Pressing Y for  yes will
  2763.                delete that line  as well.   Other options for  keys are  to
  2764.                press N for no.  Saying no will move to the next line, or if
  2765.  
  2766.                                                           PC-Trace Users Manual
  2767.  
  2768.  
  2769.  
  2770.  
  2771.  
  2772.  
  2773.  
  2774.                                                                          47
  2775.  
  2776.                no  other lines exist, will  exit the function.   Pressing B
  2777.                for back will back up to the previous line.   This was added
  2778.                in  the  case  of   many  lines  on  the  screen   and  user
  2779.                inadvertently bypassed the  desired line.  ESC will  exit at
  2780.                any  time, leaving the current  line shown on  the screen in
  2781.                the correct color.
  2782.  
  2783.           Delete-Circle/arc:
  2784.                     This function  is used to delete  circles/arcs from the
  2785.                current drawing area.   A circle/arc will  be highlighted in
  2786.                red and  made dotted.  If  this circle/arc is  to be deleted
  2787.                press Y  for yes.   Another circle/arc will  be highlighted.
  2788.                Pressing  Y for  yes will  delete  that circle/arc  as well.
  2789.                Other options for  keys are to  press N for  no.  Saying  no
  2790.                will  move   to  the  next   circle/arc,  or  if   no  other
  2791.                circles/arcs exist, will exit the function.   Pressing B for
  2792.                back  will back  up to  the previous  circle/arc.   This was
  2793.                added in the case of many circles/arcs on the screen and the
  2794.                user inadvertently  bypassed  the desired  circle/arc.   ESC
  2795.                will exit at any time, leaving  the current circle/arc shown
  2796.                on the screen in the correct color.
  2797.  
  2798.           Delete-Text:
  2799.                     This function is  used to delete text  from the current
  2800.                drawing area.  A text string will be  highlighted in red and
  2801.                made dotted.  If this text is to be deleted press Y for yes.
  2802.                Another text string will be highlighted.  Pressing Y for yes
  2803.                will delete that text as well.   Other options for keys  are
  2804.                to press N  for no.   Saying no will  move to the next  text
  2805.                string,  or if no other text exists, will exit the function.
  2806.                Pressing B for back will back up to the previous text.  This
  2807.                was added in the case of many text strings on the screen and
  2808.                the user inadvertently bypassed the  desired text.  ESC will
  2809.                exit  at any  time, leaving  the current  text shown  on the
  2810.                screen in the correct color.
  2811.  
  2812.           Regenerate:
  2813.                     Selecting this function will redraw the current screen.
  2814.                SCAD  sometimes creates a little garbage  on the screen when
  2815.                adding and deleting lines.  This function will clean it up.
  2816.  
  2817.  
  2818.           Set Snap:
  2819.                     The  Snap function  is used to  set absolute  units and
  2820.                endpoints for  drawing operations.  If the Snap function has
  2821.                already been turned  on, selecting it again  will prompt the
  2822.                user  that it will now be turned  off.  If the Snap function
  2823.                is  currently off, a text entry dialogue box will appear and
  2824.                the  snap value  will be  given.  Common  values are  0.1 or
  2825.  
  2826.                                                           PC-Trace Users Manual
  2827.  
  2828.  
  2829.  
  2830.  
  2831.  
  2832.  
  2833.  
  2834.                                                                          48
  2835.  
  2836.                0.25.   Any value between 0  and 1 can be  entered and used.
  2837.                All subsequent usage of drawing commands will move endpoints
  2838.                of lines, arcs, circles and text to the grid points shown.
  2839.  
  2840.           Zoom In:
  2841.                     This function requires the  use of the mouse to  pick a
  2842.                bounding box for an area  to zoom in on.  Click the mouse on
  2843.                one corner of the area to zoom in on and  click the mouse on
  2844.                the opposite corner.  SCAD will show the boxed  in region on
  2845.                screen  as  the full  screen  while  maintaining the  aspect
  2846.                ratio.
  2847.  
  2848.           Zoom Out:
  2849.                     The Zoom out  function prompts for  a zoom out  factor.
  2850.                Enter a value.   A value of 2, for  example, will double the
  2851.                area  being viewed.  A  value of three  will triple the area
  2852.                and so forth.
  2853.  
  2854.           Zoom Total:
  2855.                     The Zoom Total will zoom out so that all of the drawing
  2856.                is shown on  the screen.   This function  finds the  overall
  2857.                size   of  the   drawing  and   adjusts  the   viewing  area
  2858.                accordingly.
  2859.  
  2860.           Shift Space:
  2861.                     The shift  space routine  will move the  entire drawing
  2862.                some  offset specified  by  entering a  starting and  ending
  2863.                point of a  line.  If a line  from 1,1 to 2,2 is  drawn, the
  2864.                entire drawing will be shifted 1 unit right and 1 unit down.
  2865.                To draw the line, when prompted, click on the starting point
  2866.                and ending point.   After the second click the  drawing will
  2867.                be shifted.  ESC will exit backwards or out of this routine.
  2868.  
  2869.           Extend/Trim:
  2870.                     This  function allows  a  line to  be  extended/trimmed
  2871.                to/by another line, or a circle to be extended/trimmed to/by
  2872.                a line, or  a line  to be extended/trimmed  to/by a  circle.
  2873.                This  function  is   useful  for  designing  symbols   whose
  2874.                intersection of  points aren't on convenient  dimensions.  A
  2875.                good example  of this is the OR gate.  The function works by
  2876.                first prompting to  see if the object  that will be used  to
  2877.                extend or trim with is a line or a circle/arc.   Press L for
  2878.                line or  C for circle.   The software will now  use the same
  2879.                procedure as  is used  for  deleting objects  to select  the
  2880.                extend/trim edge.  Once it is selected it will be colored in
  2881.                Magenta.  The  second prompt is for the object  to extend or
  2882.                trim.   This  is the  object that  will have  its dimensions
  2883.                modified.  If  the trim  object was line,  the program  will
  2884.                give the option of a line or a circle/arc to modify.  If the
  2885.  
  2886.                                                           PC-Trace Users Manual
  2887.  
  2888.  
  2889.  
  2890.  
  2891.  
  2892.  
  2893.  
  2894.                                                                          49
  2895.  
  2896.                trim object was a  circle/arc the program will automatically
  2897.                select the  second object to  be a  line.  The  program will
  2898.                highlight each object in succession until the user picks the
  2899.                desired object  to modify.  The next  prompt is for the user
  2900.                to select a point, with the mouse, near the end point of the
  2901.                object to modify.  One more prompt exists if a circle is one
  2902.                of the  affected entities.  This  prompt is to pick  a point
  2903.                near  the projected intersection.  At the end of the prompts
  2904.                the entity will be modified as per the user instructions.  A
  2905.                regeneration may be required as well to clean up the screen.
  2906.  
  2907.  
  2908.                                   Keyboard Summaries
  2909.                                        for SCAD
  2910.  
  2911.  
  2912.  
  2913.           When Entering Text on the schematic:
  2914.  
  2915.           RETURN         - enters the text normally
  2916.           Cursor Up Arrow - overlines the text
  2917.  
  2918.           When drawing points, lines, arcs, and text:
  2919.  
  2920.           E         - gives user box to find endpoints
  2921.           R. Mouse Button - puts connection dot on point of line
  2922.  
  2923.  
  2924.  
  2925.  
  2926.  
  2927.  
  2928.  
  2929.  
  2930.  
  2931.  
  2932.  
  2933.  
  2934.  
  2935.  
  2936.  
  2937.  
  2938.  
  2939.  
  2940.  
  2941.  
  2942.  
  2943.  
  2944.  
  2945.  
  2946.                                                           PC-Trace Users Manual
  2947.  
  2948.  
  2949.  
  2950.  
  2951.  
  2952.  
  2953.  
  2954.                                                                          50
  2955.  
  2956.                                      Conclusion:
  2957.  
  2958.                The PCTRACE circuit design system was written by Doug Ehlers
  2959.  
  2960.           for use  by himself.   This  was  done without  ever having  used
  2961.  
  2962.           another design package.   The  decisions made were  chosen to  be
  2963.  
  2964.           intuitive  to   the  author.    The  program  is  under  constant
  2965.  
  2966.           refinement,  so the user should try and maintain contact with the
  2967.  
  2968.           author through  one of the previously  mentioned support methods.
  2969.  
  2970.           As always the author is interested in user input on the software.
  2971.  
  2972.           The program has evolved as it  has through the input and  support
  2973.  
  2974.           of its users.  In the words of a famous gentleman (almost) "Thank
  2975.  
  2976.           you for your support."
  2977.  
  2978.  
  2979.  
  2980.  
  2981.  
  2982.  
  2983.  
  2984.  
  2985.  
  2986.  
  2987.  
  2988.  
  2989.  
  2990.  
  2991.  
  2992.  
  2993.  
  2994.  
  2995.  
  2996.  
  2997.  
  2998.  
  2999.  
  3000.  
  3001.  
  3002.  
  3003.  
  3004.  
  3005.  
  3006.                                                           PC-Trace Users Manual
  3007.  
  3008.  
  3009.  
  3010.  
  3011.  
  3012.  
  3013.  
  3014.  
  3015.  
  3016.  
  3017.  
  3018.  
  3019.  
  3020.  
  3021.  
  3022.  
  3023.  
  3024.  
  3025.  
  3026.  
  3027.  
  3028.  
  3029.  
  3030.  
  3031.  
  3032.  
  3033.  
  3034.  
  3035.  
  3036.  
  3037.  
  3038.  
  3039.                                       Appendix A
  3040.  
  3041.                                    .NLT File Format
  3042.  
  3043.  
  3044.  
  3045.  
  3046.  
  3047.  
  3048.  
  3049.           The  file created by the export function  of SCAD and read by the
  3050.           import  function of  PC-TRACE  can be  used  as a  mechanism  for
  3051.           importing  netlists from other CAD software.  It is currently not
  3052.           feasible  for the author to  offer this support.   If conversions
  3053.           are written by users, they are encouraged to  let the author know
  3054.           so that they  can be shared by  other users.  The ->  signifies a
  3055.           line in the file.  The following is the file format:
  3056.  
  3057.           ->Number of Components in list
  3058.  
  3059.           Each component looks like:
  3060.  
  3061.           ->Name of component           15 characters
  3062.           ->Component Designation        5 characters
  3063.           ->Definition file name        12 characters
  3064.           ->Pincount  & Padsize          2 Integers with 2 spaces between
  3065.  
  3066.           Pincount is an integer signifying the number of pins in the file.
  3067.           The  Padsize is a 3 bit  number in the 5th, 6th,  and 7th bits of
  3068.           the number.  0  is 0.05, 1 (=32) is  0.06, and 2 (=64) is  a 0.07
  3069.           inch diameter pad.   The  lower five  bits of  Padsize should  be
  3070.           zero.   The bit 0 signifies  if the component has  been placed on
  3071.           the board yet.
  3072.  
  3073.  
  3074.           ->Number of Connections in list
  3075.  
  3076.           Each Connection looks like:
  3077.  
  3078.           ->Source Designation          5 characters
  3079.           ->Source Pin Number           Integer
  3080.           ->Destination Designation     5 characters
  3081.           ->Destination Pin Number      Integer
  3082.  
  3083.